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 listMar 17, 2026 09:46limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:46Andrew Epstein30.77CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:49084,323,70871,486,0002,191,0002,113,536expected "10919332713107061 ", got "123112969066895796"
2Oct 15, 2026 22:49042,832,47031,222,0001,034,0002,113,536expected "7855650199646739 ", got "35302236855405286"
3Oct 15, 2026 22:49025,275,27113,356,0001,347,0002,113,536expected "136012520883 ", got "30683568386664012"
4Mar 17, 2026 09:466,62482,709,40653,977,000999,0002,289,664
5Mar 17, 2026 09:466,63578,780,36453,072,0002,002,0002,289,664
6Mar 17, 2026 09:466,64677,449,11754,161,0001,002,0002,494,464
7Mar 17, 2026 09:466,64882,413,56953,174,0002,006,0002,502,656
8Mar 17, 2026 09:466,65480,809,65953,217,0002,008,0002,289,664
9Mar 17, 2026 09:466,65677,116,78554,239,0001,004,0002,289,664
10Mar 17, 2026 09:466,65684,763,20653,239,0002,009,0002,289,664
11Mar 17, 2026 09:466,66283,630,75453,285,0002,010,0002,289,664
12Mar 17, 2026 09:466,75579,247,77755,063,0001,001,0002,289,664