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 9, 2026 13:12wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:43Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:43040,852,75131,867,0001,005,0002,113,536expected "74600294196621100 ", got "74534754561029409 "
2Jul 6, 2026 18:43040,475,78831,521,0001,034,0002,113,536expected "74600294196621100 ", got "74534752429633068 "
3Jul 6, 2026 18:43040,747,27731,757,0001,008,0002,113,536expected "74600294196621100 ", got "74534681433663674 "
4May 9, 2026 13:123,98449,571,94031,988,0001,081,0002,490,368
5May 9, 2026 13:123,99548,430,60432,098,0001,063,0002,486,272
6May 9, 2026 13:124,06247,762,33332,645,0001,070,0002,486,272
7May 9, 2026 13:124,06449,750,25332,672,0001,066,0002,486,272
8May 9, 2026 13:124,06650,555,63132,639,0001,111,0002,330,624
9May 9, 2026 13:124,07547,084,98832,739,0001,084,0002,478,080
10May 9, 2026 13:124,07649,219,90432,792,0001,042,0002,490,368
11May 9, 2026 13:124,12650,740,30233,121,0001,127,0002,478,080
12May 9, 2026 13:124,14950,383,44433,363,0001,075,0002,490,368