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 2, 2026 11:05Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:07wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:07030,095,66720,954,0001,023,0002,117,632expected "99999999067940437 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:07029,670,32020,955,0001,018,0002,117,632expected "99999999927471803 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:07029,588,16420,952,0001,003,0002,117,632expected "99999998282186026 ", got "99999999950000000 "stderr
4Jul 2, 2026 11:064,06141,418,35232,609,0001,102,0002,117,632stderr
5Jul 2, 2026 11:064,06441,679,17632,602,0001,130,0002,117,632stderr
6Jul 2, 2026 11:064,07043,172,74732,659,0001,124,0002,117,632stderr
7Jul 2, 2026 11:064,07741,560,93732,741,0001,104,0002,117,632stderr
8Jul 2, 2026 11:064,09741,839,68832,902,0001,106,0002,117,632stderr
9Jul 2, 2026 11:064,10041,882,59133,029,0001,006,0002,117,632stderr
10Jul 2, 2026 11:064,11942,047,53933,179,0001,010,0002,117,632stderr
11Jul 2, 2026 11:064,13142,149,69533,185,0001,106,0002,117,632stderr
12Jul 2, 2026 11:064,20542,650,54633,855,0001,047,0002,117,632stderr