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 listMar 14, 2026 21:44wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 23:08Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 23:08043,868,57734,924,0001,011,0002,113,536expected "74600294196621100 ", got "73482417819179820 "
2Jul 6, 2026 23:08041,287,42532,049,0001,173,0002,113,536expected "74600294196621100 ", got "72039492423908140 "
3Jul 6, 2026 23:08041,337,28032,068,0001,181,0002,113,536expected "74600294196621100 ", got "72047556767767596 "
4Mar 14, 2026 21:444,27360,260,01834,451,0001,013,0002,490,368
5Mar 14, 2026 21:444,27962,294,07634,505,0001,014,0002,490,368
6Mar 14, 2026 21:444,33659,583,30633,992,0001,999,0002,490,368