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 listApr 13, 2026 12:03wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:01Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:01044,919,40035,992,0001,116,0002,113,536expected "74600294196621100 ", got "74099776123193900 "
2Jul 6, 2026 20:01036,919,91228,021,0001,069,0002,113,536expected "74600294196621100 ", got "72479751239684652 "
3Jul 6, 2026 20:01037,209,40428,154,0001,125,0002,113,536expected "74600294196621100 ", got "72475059698838828 "
4Apr 13, 2026 11:534,04358,576,92032,543,0001,016,0002,531,328
5Apr 13, 2026 11:514,04857,625,90632,578,0001,018,0002,498,560
6Apr 13, 2026 12:044,05064,735,01532,601,0001,018,0002,277,376
7Apr 13, 2026 12:044,05561,440,26732,637,0001,019,0002,498,560
8Apr 13, 2026 12:034,06862,116,48632,774,000993,0002,498,560
9Apr 13, 2026 12:044,07358,652,67331,820,0001,988,0002,277,376
10Apr 13, 2026 12:044,07958,852,45531,866,0001,991,0002,277,376
11Apr 13, 2026 12:044,08554,838,57131,912,0001,994,0002,277,376
12Apr 13, 2026 11:534,09057,572,71531,948,0001,996,0002,490,368
13Apr 13, 2026 11:514,09157,386,40431,958,0001,997,0002,277,376
14Apr 13, 2026 12:044,09353,382,02331,977,0001,998,0002,277,376
15Apr 13, 2026 12:034,09755,175,26532,001,0002,000,0002,277,376
16Apr 13, 2026 11:534,10253,188,58132,046,0002,002,0002,277,376
17Apr 13, 2026 12:044,10758,996,88832,082,0002,005,0002,490,368
18Apr 13, 2026 12:044,11558,498,76532,144,0002,009,0002,277,376
19Apr 13, 2026 11:514,15355,866,08033,456,0001,013,0002,486,272
20Apr 13, 2026 12:034,17264,006,72733,609,0001,018,0002,502,656
21Apr 13, 2026 12:044,22860,015,69533,088,0002,005,0002,277,376