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 13:18wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 02:39Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 02:39037,456,15328,000,0001,048,0002,113,536expected "74600294196621100 ", got "74534755287401409 "
2Jul 4, 2026 02:39038,077,27529,277,0001,009,0002,113,536expected "74600294196621100 ", got "74535197757255120 "
3Jul 4, 2026 02:39037,866,69128,989,0001,039,0002,113,536expected "74600294196621100 ", got "74535267119009490 "
4May 10, 2026 13:183,26037,066,90827,060,00002,113,536
5May 10, 2026 13:183,27034,869,68627,144,00002,113,536
6May 10, 2026 13:183,27636,982,78827,195,00002,113,536
7May 10, 2026 13:183,41537,540,82328,347,00002,113,536
8May 10, 2026 13:183,41936,227,58628,384,00002,113,536
9May 10, 2026 13:183,42238,207,86427,399,0001,010,0002,113,536
10May 10, 2026 13:183,44338,818,84328,579,00002,113,536
11May 10, 2026 13:183,49137,396,93227,939,0001,043,0002,113,536
12May 10, 2026 13:183,50939,399,79629,130,00002,113,536