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 listFeb 18, 2026 21:08wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 16, 2026 03:21Andrew Epstein21.13CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 16, 2026 04:130155,433,334145,258,0001,084,0002,117,632expected "5127033468468814 ", got "5126585467956814 "
2Oct 16, 2026 04:135,56255,189,24645,138,0001,034,0002,117,632
3Oct 16, 2026 04:135,58655,352,31545,334,0001,034,0002,117,632
4Feb 18, 2026 21:085,84170,108,62648,477,00002,437,120
5Feb 18, 2026 21:085,90873,972,86547,033,0002,001,0002,437,120
6Feb 18, 2026 21:085,91072,624,69247,050,0002,002,0002,433,024
7Feb 18, 2026 21:085,92374,871,07046,153,0003,010,0002,445,312
8Feb 18, 2026 21:086,00377,545,60048,826,000996,0002,535,424
9Feb 18, 2026 21:086,01871,385,54947,953,0001,998,0002,437,120
10Feb 18, 2026 21:086,03071,867,13847,048,0003,003,0002,449,408
11Feb 18, 2026 21:086,03170,780,36849,053,0001,001,0002,449,408
12Feb 18, 2026 21:086,05171,730,32249,220,0001,004,0002,539,520