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 listSep 5, 2026 16:26Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 12:47Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 12:47040,070,69730,778,0001,156,0002,117,632expected "53674532940003416 ", got "53674197957586634 "stderr
2Sep 9, 2026 12:47039,070,60629,717,0001,196,0002,117,632expected "53671195796347247 ", got "53670901171922976 "stderr
3Sep 9, 2026 12:47038,921,79829,529,0001,245,0002,117,632expected "53663856194899546 ", got "53663525794146276 "stderr
4Sep 5, 2026 16:293,65038,322,26429,200,0001,095,0002,117,632stderr
5Sep 5, 2026 16:293,65738,390,59129,213,0001,148,0002,117,632stderr
6Sep 5, 2026 16:293,66138,582,18229,278,0001,111,0002,117,632stderr
7Sep 5, 2026 16:293,66238,393,08529,291,0001,108,0002,117,632stderr
8Sep 5, 2026 16:293,67138,655,26229,359,0001,116,0002,117,632stderr
9Sep 5, 2026 16:293,67438,514,16229,366,0001,131,0002,117,632stderr
10Sep 5, 2026 16:293,68139,040,50029,529,0001,024,0002,117,632stderr
11Sep 5, 2026 16:293,68938,658,02829,434,0001,188,0002,117,632stderr
12Sep 5, 2026 16:293,69038,881,58429,513,0001,116,0002,117,632stderr