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 18, 2026 14:22wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 19, 2026 06:12Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2026 06:130192,757,842180,480,00002,113,536expected "42203183863989797 ", got "41579851242356210 "
2May 19, 2026 06:130189,602,400181,226,00002,113,536expected "42210366159627862 ", got "41588423327370736 "
3May 19, 2026 06:130190,441,399180,857,00002,113,536expected "42210016225623463 ", got "41587557589137542 "
4May 18, 2026 14:223,27835,124,37026,191,0001,023,0002,113,536
5May 18, 2026 14:223,28636,955,02226,275,0001,002,0002,113,536
6May 18, 2026 14:223,28836,951,83226,291,0001,007,0002,113,536
7May 18, 2026 14:223,29337,237,65226,330,0001,008,0002,113,536
8May 18, 2026 14:223,29937,049,67126,377,0001,010,0002,113,536
9May 18, 2026 14:223,32335,809,28026,556,0001,032,0002,113,536
10May 18, 2026 14:223,41436,635,78427,333,0001,004,0002,113,536
11May 18, 2026 14:223,43738,945,56027,493,0001,035,0002,113,536
12May 18, 2026 14:223,48238,825,53627,869,0001,036,0002,113,536