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 05:47Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:52wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:53057,871,61233,381,00016,396,0002,117,632expected "100000000015931805 ", got "55557717393707421 "stderr
2Jul 7, 2026 05:53054,856,80232,424,00014,414,0002,117,632expected "99999999473771391 ", got "55557716851547007 "stderr
3Jul 7, 2026 05:53056,939,57932,405,00016,437,0002,117,632expected "99999998898225930 ", got "55557716276001546 "stderr
4Jul 7, 2026 05:494,07341,913,36732,741,0001,070,0002,117,632stderr
5Jul 7, 2026 05:494,08041,902,79832,768,0001,098,0002,117,632stderr
6Jul 7, 2026 05:494,08742,069,02232,800,0001,128,0002,117,632stderr
7Jul 7, 2026 05:494,09042,043,25932,924,0001,027,0002,117,632stderr
8Jul 7, 2026 05:494,09242,077,05032,900,0001,068,0002,117,632stderr
9Jul 7, 2026 05:494,09442,016,65732,968,0001,020,0002,117,632stderr
10Jul 7, 2026 05:494,11944,157,96533,146,0001,044,0002,117,632stderr
11Jul 7, 2026 05:494,13542,430,45633,284,0001,042,0002,117,632stderr
12Jul 7, 2026 05:494,13642,412,87433,294,0001,037,0002,117,632stderr