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 listApr 27, 2026 07:51wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:11Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:11037,551,53028,569,0001,007,0002,113,536expected "74600294196621100 ", got "74535275008031050 "
2Jul 6, 2026 16:11037,356,95928,366,0001,006,0002,113,536expected "74600294196621100 ", got "74534687179099763 "
3Jul 6, 2026 16:11037,425,09728,446,0001,013,0002,113,536expected "74600294196621100 ", got "74525987730253224 "
4Apr 27, 2026 07:523,40642,311,29027,264,0001,009,0002,486,272
5Apr 27, 2026 07:523,42742,880,49127,433,0001,016,0002,478,080
6Apr 27, 2026 07:523,44346,529,96527,565,0001,020,0002,490,368
7Apr 27, 2026 07:523,47346,970,53226,846,0001,988,0002,494,464
8Apr 27, 2026 07:523,47742,978,56427,835,0001,030,0002,490,368
9Apr 27, 2026 07:523,49146,402,58926,982,0001,998,0002,482,176
10Apr 27, 2026 07:523,58548,760,12327,774,0001,983,0002,486,272
11Apr 27, 2026 07:523,59243,838,60627,831,0001,987,0002,490,368
12Apr 27, 2026 07:523,60949,708,16827,958,0001,997,0002,486,272