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 15:49Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:00wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:01041,820,67832,708,0001,069,0002,117,632expected "99999999982845778 ", got "55557717360621394 "stderr
2Jul 7, 2026 05:01041,623,47032,528,0001,005,0002,117,632expected "100000000025357609 ", got "55557717403133225 "stderr
3Jul 7, 2026 05:01041,688,10632,574,0001,049,0002,117,632expected "99999998162433344 ", got "55557715540208960 "stderr
4Jul 6, 2026 15:504,06041,724,66032,583,0001,123,0002,117,632stderr
5Jul 6, 2026 15:504,06141,723,36232,604,0001,109,0002,117,632stderr
6Jul 6, 2026 15:504,06341,733,70532,630,0001,095,0002,117,632stderr
7Jul 6, 2026 15:504,07941,830,06632,726,0001,134,0002,117,632stderr
8Jul 6, 2026 15:504,08741,962,83432,834,0001,093,0002,117,632stderr
9Jul 6, 2026 15:504,08841,892,79132,882,0001,051,0002,117,632stderr
10Jul 6, 2026 15:504,09241,963,52532,938,0001,027,0002,117,632stderr
11Jul 6, 2026 15:504,12542,298,33733,130,0001,108,0002,117,632stderr
12Jul 6, 2026 15:504,14542,740,61233,300,0001,109,0002,117,632stderr