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 6, 2026 06:50Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:13wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:13041,941,98532,751,0001,111,0002,117,632expected "99999997992050183 ", got "55557715369825799 "stderr
2Jul 7, 2026 05:13042,457,86232,436,0001,008,0002,117,632expected "99999998577635129 ", got "55557715955410745 "stderr
3Jul 7, 2026 05:13041,846,12332,730,0001,061,0002,117,632expected "99999999514911716 ", got "55557716892687332 "stderr
4Jul 6, 2026 06:524,06541,765,90732,621,0001,119,0002,117,632stderr
5Jul 6, 2026 06:524,08141,972,06232,866,0001,007,0002,117,632stderr
6Jul 6, 2026 06:524,09141,983,77232,954,0001,007,0002,117,632stderr
7Jul 6, 2026 06:524,10041,993,36332,924,0001,110,0002,117,632stderr
8Jul 6, 2026 06:524,10942,122,16132,998,0001,108,0002,117,632stderr
9Jul 6, 2026 06:524,11042,133,77333,049,0001,067,0002,117,632stderr
10Jul 6, 2026 06:524,11442,142,52833,082,0001,065,0002,117,632stderr
11Jul 6, 2026 06:524,12742,293,95033,144,0001,112,0002,117,632stderr
12Jul 6, 2026 06:524,38344,345,20435,355,0001,024,0002,117,632stderr