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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:18Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:18036,437,65727,609,0001,017,0002,113,536expected "74600294196621100 ", got "74534754080341309 "
2Jul 6, 2026 16:18040,030,91130,475,0001,130,0002,113,536expected "74600294196621100 ", got "74535190791019780 "
3Jul 6, 2026 16:18037,262,03427,999,0001,037,0002,113,536expected "74600294196621100 ", got "74534753031277069 "
4May 9, 2026 13:393,36142,532,09726,876,0001,026,0002,482,176
5May 9, 2026 13:393,37345,165,77826,937,0001,062,0002,486,272
6May 9, 2026 13:393,38741,723,55327,049,0001,067,0002,490,368
7May 9, 2026 13:393,48443,384,06427,863,0001,062,0002,490,368
8May 9, 2026 13:393,48443,402,77527,803,0001,121,0002,478,080
9May 9, 2026 13:393,52943,552,36328,222,0001,072,0002,486,272
10May 9, 2026 13:393,54946,770,71528,398,0001,061,0002,490,368
11May 9, 2026 13:393,57148,376,14728,556,0001,086,0002,490,368
12May 9, 2026 13:393,57747,870,65828,618,0001,072,0002,490,368