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:52Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 01:31Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 01:31046,996,65037,178,0001,956,0002,113,536expected "74600294196621100 ", got "35384886505327404 "
2Jul 7, 2026 01:31047,594,03436,371,0003,182,0002,113,536expected "74600294196621100 ", got "35384883945327404 "
3Jul 7, 2026 01:31047,507,39636,380,0003,062,0002,113,536expected "74600294196621100 ", got "35412074678128940 "
4May 10, 2026 03:524,39453,187,85135,392,0001,084,0002,387,968
5May 10, 2026 03:524,39653,300,04035,462,0001,027,0002,387,968
6May 10, 2026 03:524,40154,597,89835,498,0001,034,0002,379,776
7May 10, 2026 03:524,40354,247,37335,491,0001,055,0002,383,872
8May 10, 2026 03:524,40550,695,67635,396,0001,167,0002,375,680
9May 10, 2026 03:524,40849,039,52035,426,0001,167,0002,392,064
10May 10, 2026 03:524,40851,926,45135,420,0001,173,0002,392,064
11May 10, 2026 03:524,41154,366,69735,586,0001,031,0002,392,064
12May 10, 2026 03:524,41853,130,48435,535,0001,137,0002,387,968