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 10, 2026 10:32wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:54Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:54035,849,49026,835,0001,020,0002,113,536expected "74600294196621100 ", got "74534752301018408 "
2Jul 6, 2026 16:54038,294,09029,228,0001,046,0002,113,536expected "74600294196621100 ", got "74535200005098130 "
3Jul 6, 2026 16:54038,255,59929,484,0001,012,0002,113,536expected "74600294196621100 ", got "74535198335074460 "
4May 10, 2026 10:333,37641,193,42026,981,0001,048,0002,486,272
5May 10, 2026 10:333,39745,473,46927,114,0001,082,0002,486,272
6May 10, 2026 10:333,41443,670,97627,235,0001,108,0002,482,176
7May 10, 2026 10:333,52843,994,86228,204,0001,084,0002,494,464
8May 10, 2026 10:333,53746,550,03728,310,0001,051,0002,494,464
9May 10, 2026 10:333,56342,635,02628,525,0001,050,0002,486,272
10May 10, 2026 10:333,58344,579,40828,650,0001,089,0002,486,272
11May 10, 2026 10:333,58646,842,51528,698,0001,069,0002,482,176
12May 10, 2026 10:333,59043,581,24428,729,0001,069,0002,478,080