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 27, 2026 10:22wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:15037,390,17728,354,0001,025,0002,113,536expected "74600294196621100 ", got "74523595897568657 "
2Jul 6, 2026 16:15038,659,85829,674,0001,028,0002,113,536expected "74600294196621100 ", got "74535197103730790 "
3Jul 6, 2026 16:15037,263,90028,223,0001,040,0002,113,536expected "74600294196621100 ", got "74534750240748419 "
4Apr 27, 2026 10:233,43542,336,81227,495,0001,018,0002,486,272
5Apr 27, 2026 10:233,44345,066,44127,562,0001,020,0002,330,624
6Apr 27, 2026 10:233,46541,783,17126,783,0001,983,0002,486,272
7Apr 27, 2026 10:233,46748,439,22226,793,0001,984,0002,498,560
8Apr 27, 2026 10:233,48146,296,96226,902,0001,992,0002,498,560
9Apr 27, 2026 10:233,50645,151,65528,098,0001,003,0002,547,712
10Apr 27, 2026 10:233,50646,729,01327,095,0002,007,0002,473,984
11Apr 27, 2026 10:233,56547,407,13228,575,0001,020,0002,494,464
12Apr 27, 2026 10:233,64848,306,07729,275,0001,009,0002,494,464