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 listMay 11, 2026 04:53Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:40Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:40040,746,74831,736,0001,149,0002,113,536expected "74600294196621100 ", got "33280007016080245 "
2Jul 6, 2026 18:40041,726,67632,558,0001,144,0002,113,536expected "74600294196621100 ", got "33383265338077027 "
3Jul 6, 2026 18:40042,787,83833,651,0001,127,0002,113,536expected "74600294196621100 ", got "35358178159267628 "
4May 11, 2026 04:544,03141,237,02232,374,0001,090,0002,113,536
5May 11, 2026 04:544,03743,197,65332,443,0001,067,0002,113,536
6May 11, 2026 04:544,04343,211,40532,469,0001,092,0002,113,536
7May 11, 2026 04:544,04742,107,00932,506,0001,089,0002,113,536
8May 11, 2026 04:544,04742,183,63932,522,0001,071,0002,113,536
9May 11, 2026 04:544,05241,257,27632,548,0001,084,0002,113,536
10May 11, 2026 04:544,06043,075,73932,607,0001,094,0002,113,536
11May 11, 2026 04:544,09643,263,46632,924,0001,078,0002,113,536
12May 11, 2026 04:544,11542,334,26833,098,0001,064,0002,113,536