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 2, 2025 18:29Aniruddha DebAniruddha DebError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Nov 6, 2026 00:21Andrew Epstein10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2026 00:240115,816,761102,599,0003,939,0002,117,632expected "225011277 ", got "1237722561 "
2Nov 6, 2026 00:240114,419,739101,670,0003,446,0002,117,632expected "224971163 ", got "1237288490 "
3Nov 6, 2026 00:240114,410,078101,632,0003,460,0002,117,632expected "224997639 ", got "1237484463 "
4Mar 2, 2025 18:299,81599,913,69378,451,0003,017,0002,412,544
5Mar 2, 2025 18:299,863107,796,61775,877,0005,990,0002,396,160
6Mar 2, 2025 18:299,944111,479,32479,517,0003,019,0002,535,424