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 listJul 7, 2026 18:30Kevin HeaveyKevin HeaveyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:54Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:55096,632,86586,032,0001,011,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:55096,129,45785,595,0001,008,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:55095,410,82084,828,0001,009,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 18:353,82341,247,18530,570,0001,161,0002,117,632
5Jul 7, 2026 18:353,85041,545,74330,903,0001,055,0002,117,632
6Jul 7, 2026 18:353,85641,585,78230,981,0001,025,0002,117,632
7Jul 7, 2026 18:353,94942,299,17131,591,0001,190,0002,117,632
8Jul 7, 2026 18:354,00842,924,55432,087,0001,185,0002,117,632
9Jul 7, 2026 18:354,02742,885,30432,252,0001,178,0002,117,632
10Jul 7, 2026 18:354,16744,139,30233,402,0001,190,0002,117,632
11Jul 7, 2026 18:354,20646,524,73033,726,0001,191,0002,117,632
12Jul 7, 2026 18:354,25844,940,82934,157,0001,189,0002,117,632