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

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 11:00Victor Mercklé10.00CustomSolution Broken
Jul 3, 2026 11:00Victor Mercklé10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 11:00036,582,96727,801,0001,028,0002,113,536expected "74600294196621100 ", got "74534753381974967 "
2Jul 3, 2026 11:00037,543,41428,842,0001,021,0002,113,536expected "74600294196621100 ", got "74535197413656460 "
3Jul 3, 2026 11:00037,496,66228,740,0001,046,0002,113,536expected "74600294196621100 ", got "74535216041304590 "
4May 15, 2026 13:083,29035,552,99027,312,00002,113,536
5May 15, 2026 13:083,29636,106,99127,360,00002,113,536
6May 15, 2026 13:083,29834,849,21527,377,00002,113,536
7May 15, 2026 13:083,30036,906,29427,398,00002,113,536
8May 15, 2026 13:083,30536,688,86527,433,00002,113,536
9May 15, 2026 13:083,31436,621,06627,508,00002,113,536
10May 15, 2026 13:083,32135,612,63227,567,00002,113,536
11May 15, 2026 13:083,33337,091,92227,664,00002,113,536
12May 15, 2026 13:083,44738,027,54928,613,00002,113,536