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

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

Challenge History
DateChallengerCostTypeStatus
Sep 9, 2026 12:49Tomislav Tunkovic49.89CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2026 12:49038,935,16729,344,0001,204,0002,117,632expected "53672161633458805 ", got "53671793422161713 "stderr
2Sep 9, 2026 12:49041,864,74631,426,0001,113,0002,117,632expected "53678568214665697 ", got "53678251594514578 "stderr
3Sep 5, 2026 16:243,63438,275,18229,059,0001,104,0002,117,632stderr
4Sep 5, 2026 16:243,63938,439,48229,083,0001,122,0002,117,632stderr
5Sep 5, 2026 16:243,64738,331,14829,154,0001,119,0002,117,632stderr
6Sep 5, 2026 16:243,65838,536,60529,226,0001,142,0002,117,632stderr
7Sep 5, 2026 16:243,65938,677,07429,321,0001,056,0002,117,632stderr
8Sep 5, 2026 16:243,67538,586,90829,375,0001,129,0002,117,632stderr
9Sep 5, 2026 16:243,67738,632,28729,459,0001,062,0002,117,632stderr
10Sep 5, 2026 16:243,68938,839,93229,509,0001,113,0002,117,632stderr
11Sep 5, 2026 16:243,71338,817,10429,708,0001,112,0002,117,632stderr
12Sep 9, 2026 12:4921,044183,054,860169,931,0004,740,0002,117,632stderr