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 listMar 9, 2026 16:44wnwnScore: 4,357Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 9, 2026 18:104,31859,594,75433,846,0001,990,0002,535,424
2Mar 9, 2026 17:324,31858,653,96333,851,0001,991,0002,273,280
3Mar 9, 2026 16:444,32963,078,70933,932,0001,996,0002,273,280
4Mar 9, 2026 16:444,33762,373,58033,994,0001,999,0002,494,464
5Mar 9, 2026 16:444,34762,574,91934,072,0002,004,0002,498,560
6Mar 9, 2026 16:444,35259,911,57434,115,0002,006,0002,494,464
7Mar 9, 2026 18:104,35261,510,22334,115,0002,006,0002,273,280
8Mar 9, 2026 16:444,35455,509,51034,131,0002,007,0002,273,280
9Mar 9, 2026 17:314,35656,132,99134,143,0002,008,0002,498,560
10Mar 9, 2026 16:444,35763,240,84534,156,0002,009,0002,273,280
11Mar 9, 2026 17:314,36263,505,06134,195,0002,011,0002,273,280
12Mar 9, 2026 18:104,36461,553,78334,208,0002,012,0002,494,464
13Mar 9, 2026 16:444,36959,517,10835,254,0001,007,0002,498,560
14Mar 9, 2026 16:444,37157,614,65335,276,0001,007,0002,494,464
15Mar 9, 2026 17:314,37457,999,72134,290,0002,017,0002,273,280
16Mar 9, 2026 17:324,38656,002,12935,394,0001,011,0002,531,328
17Mar 9, 2026 16:444,39155,934,69035,432,0001,012,0002,490,368
18Mar 9, 2026 17:324,93062,298,62538,925,0001,996,0002,490,368