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 listJul 5, 2026 17:47Kevin HeaveyKevin HeaveyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 15, 2026 22:45Andrew Epstein24.84CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2026 22:47073,308,27646,080,00016,670,0002,117,632expected "107371624317628802 ", got "107371624317628712"
2Oct 15, 2026 22:47073,370,35745,821,00016,974,0002,117,632expected "78688073356070172 ", got "78688073356070153"
3Jul 5, 2026 17:475,18752,502,06741,929,0001,131,0002,117,632
4Jul 5, 2026 17:475,20052,672,69642,018,0001,144,0002,117,632
5Jul 5, 2026 17:475,21152,796,09242,013,0001,240,0002,117,632
6Jul 5, 2026 17:475,22052,842,31042,139,0001,192,0002,117,632
7Jul 5, 2026 17:475,23452,907,95542,316,0001,133,0002,117,632
8Jul 5, 2026 17:475,23453,058,68742,282,0001,165,0002,117,632
9Jul 5, 2026 17:475,24753,117,73042,391,0001,160,0002,117,632
10Jul 5, 2026 17:475,26753,298,03242,569,0001,150,0002,117,632
11Jul 5, 2026 17:475,27453,343,88442,554,0001,225,0002,117,632
12Oct 15, 2026 22:477,85575,802,95243,888,00021,315,0002,117,632