Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listNov 14, 2024 03:32zielajzielajScore: 4,227Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 03:324,19962,937,75432,863,0001,991,0002,371,584
2Nov 14, 2024 03:324,20067,720,37533,866,000996,0002,514,944
3Nov 14, 2024 03:324,20167,053,96432,877,0001,992,0002,367,488
4Nov 14, 2024 03:324,20556,576,11533,907,000997,0002,367,488
5Nov 14, 2024 03:324,20660,429,78833,909,000997,0002,523,136
6Nov 14, 2024 03:354,21763,421,78534,001,0001,000,0002,363,392
7Nov 14, 2024 03:324,22256,825,17633,039,0002,002,0002,514,944
8Nov 14, 2024 03:324,22558,800,79233,065,0002,003,0002,367,488
9Nov 14, 2024 03:354,22560,596,57434,067,0001,001,0002,371,584
10Nov 14, 2024 03:324,22757,557,46233,078,0002,004,0002,514,944
11Nov 14, 2024 03:354,22754,347,26634,084,0001,002,0002,514,944
12Nov 14, 2024 03:324,24456,789,22334,223,0001,006,0002,519,040
13Nov 14, 2024 03:354,92068,847,38740,834,00002,527,232
14Nov 14, 2024 03:324,92066,380,55240,840,00002,379,776
15Nov 14, 2024 03:354,92266,566,67939,856,000996,0002,383,872
16Nov 14, 2024 03:324,94463,751,29439,036,0002,001,0002,527,232
17Nov 14, 2024 03:354,96361,573,69740,190,0001,004,0002,379,776
18Nov 14, 2024 03:325,13569,194,13242,624,00002,527,232