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 10, 2026 03:43Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 01:37Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 01:37045,549,00036,361,0001,017,0002,113,536expected "74600294196621100 ", got "32909885741595436 "
2Jul 7, 2026 01:37045,527,67336,347,0001,043,0002,113,536expected "74600294196621100 ", got "32911250665327404 "
3Jul 7, 2026 01:37045,260,13337,150,000020,480expected "74600294196621100 ", got "32909885715995436 "
4May 10, 2026 03:444,40851,115,35035,574,0001,020,0002,351,104
5May 10, 2026 03:444,41651,782,59635,625,0001,031,0002,355,200
6May 10, 2026 03:444,41651,584,00435,603,0001,052,0002,359,296
7May 10, 2026 03:444,42550,854,63635,580,0001,148,0002,355,200
8May 10, 2026 03:444,43153,942,72235,609,0001,169,0002,363,392
9May 10, 2026 03:444,43855,891,75635,824,0001,019,0002,355,200
10May 10, 2026 03:444,44353,204,63035,829,0001,055,0002,359,296
11May 10, 2026 03:444,46254,371,86136,012,0001,026,0002,355,200
12May 10, 2026 03:444,58453,804,73436,886,0001,169,0002,359,296