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 7, 2026 08:31wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:31Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:31039,642,26230,651,0001,010,0002,113,536expected "74600294196621100 ", got "74534749901048638 "
2Jul 6, 2026 18:31040,327,72631,337,0001,110,0002,113,536expected "74600294196621100 ", got "74534674515633824 "
3Jul 6, 2026 18:31041,730,73232,692,0001,035,0002,113,536expected "74600294196621100 ", got "74535199851547140 "
4May 7, 2026 08:343,83047,461,65630,736,0001,061,0002,490,368
5May 7, 2026 08:343,84746,782,63630,899,0001,032,0002,482,176
6May 7, 2026 08:343,89648,826,13631,267,0001,072,0002,486,272
7May 7, 2026 08:343,95049,837,43031,688,0001,102,0002,486,272
8May 7, 2026 08:343,95448,462,42731,730,0001,095,0002,482,176
9May 7, 2026 08:343,96347,936,32031,753,0001,145,0002,473,984
10May 7, 2026 08:343,97149,611,28531,879,0001,085,0002,482,176
11May 7, 2026 08:343,99148,857,88532,031,0001,101,0002,490,368
12May 7, 2026 08:344,01948,360,41232,269,0001,092,0002,482,176