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 listJun 25, 2026 06:19wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:30Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:30039,496,58430,514,0001,020,0002,113,536expected "74600294196621100 ", got "74535199151848130 "
2Jul 6, 2026 15:30035,791,08127,010,0001,038,0002,113,536expected "74600294196621100 ", got "74534754694305408 "
3Jul 6, 2026 15:30038,214,97129,231,0001,044,0002,113,536expected "74600294196621100 ", got "74535188483468460 "
4Jun 25, 2026 06:203,39035,610,25927,106,0001,032,0002,113,536
5Jun 25, 2026 06:203,40536,081,77027,261,0001,006,0002,113,536
6Jun 25, 2026 06:203,43436,171,64627,472,0001,035,0002,113,536
7Jun 25, 2026 06:203,44136,133,20227,561,0001,007,0002,113,536
8Jun 25, 2026 06:203,44636,309,22527,599,0001,009,0002,113,536
9Jun 25, 2026 06:203,44836,463,85227,599,0001,020,0002,113,536
10Jun 25, 2026 06:203,46836,948,48927,745,0001,043,0002,113,536
11Jun 25, 2026 06:203,46936,643,88527,781,0001,015,0002,113,536
12Jun 25, 2026 06:203,48136,783,25327,852,0001,043,0002,113,536