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 14:15wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:49Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:49035,835,54226,994,0001,042,0002,113,536expected "74600294196621100 ", got "74534751166960749 "
2Jul 6, 2026 16:49039,097,98930,273,0001,022,0002,113,536expected "74600294196621100 ", got "74535199636811140 "
3Jul 6, 2026 16:49037,310,73528,118,0001,005,0002,113,536expected "74600294196621100 ", got "74534746977133409 "
4May 9, 2026 14:153,36344,177,16326,860,0001,056,0002,486,272
5May 9, 2026 14:153,39946,364,63527,108,0001,109,0002,486,272
6May 9, 2026 14:153,41043,850,53327,214,0001,090,0002,478,080
7May 9, 2026 14:153,47743,635,27727,808,0001,058,0002,482,176
8May 9, 2026 14:153,52944,131,10628,234,0001,061,0002,490,368
9May 9, 2026 14:153,54643,665,61028,299,0001,141,0002,490,368
10May 9, 2026 14:153,55748,038,95028,433,0001,093,0002,486,272
11May 9, 2026 14:153,57544,279,25828,627,0001,051,0002,478,080
12May 9, 2026 14:153,57745,255,04728,607,0001,086,0002,473,984