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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:18Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:18040,071,56330,893,0001,140,0002,113,536expected "74600294196621100 ", got "33280888724788033 "
2Jul 6, 2026 18:18041,982,73832,796,0001,123,0002,113,536expected "74600294196621100 ", got "35358177852067628 "
3Jul 6, 2026 18:18041,608,22832,385,0001,153,0002,113,536expected "74600294196621100 ", got "35363637802995500 "
4May 10, 2026 19:273,87041,619,29431,049,0001,078,0002,113,536
5May 10, 2026 19:273,88342,793,16431,151,0001,082,0002,113,536
6May 10, 2026 19:273,88442,402,44731,173,0001,072,0002,113,536
7May 10, 2026 19:273,88441,777,87331,157,0001,088,0002,113,536
8May 10, 2026 19:273,88640,882,29131,144,0001,115,0002,113,536
9May 10, 2026 19:273,88940,833,46031,184,0001,095,0002,113,536
10May 10, 2026 19:273,90741,083,33831,366,0001,067,0002,113,536
11May 10, 2026 19:273,91340,019,28831,385,0001,097,0002,113,536
12May 10, 2026 19:273,91542,426,38731,378,0001,121,0002,113,536