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 listMay 10, 2026 03:57Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 01:28Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 01:28045,065,22636,902,000020,480expected "74600294196621100 ", got "35429897398128940 "
2Jul 7, 2026 01:28045,929,05837,855,000020,480expected "74600294196621100 ", got "32401568677282092 "
3Jul 7, 2026 01:28044,924,74136,836,000020,480expected "74600294196621100 ", got "35385214936260396 "
4May 10, 2026 03:584,35551,944,01835,048,0001,103,0002,555,904
5May 10, 2026 03:584,38950,707,64435,252,0001,180,0002,547,712
6May 10, 2026 03:584,38951,859,88035,391,0001,039,0002,547,712
7May 10, 2026 03:584,39249,335,79835,425,0001,034,0002,551,808
8May 10, 2026 03:584,39852,540,04235,465,0001,043,0002,547,712
9May 10, 2026 03:584,40151,755,04835,494,0001,042,0002,539,520
10May 10, 2026 03:584,40251,016,39435,488,0001,049,0002,551,808
11May 10, 2026 03:584,40551,039,83235,531,0001,038,0002,547,712
12May 10, 2026 03:584,41852,486,21035,640,0001,034,0002,555,904