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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:35Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:35037,581,71028,166,0001,010,0002,113,536expected "74600294196621100 ", got "74534686443351034 "
2Jul 6, 2026 16:35037,048,33628,236,0001,009,0002,113,536expected "74600294196621100 ", got "74534682173299674 "
3Jul 6, 2026 16:35037,594,88428,655,0001,007,0002,113,536expected "74600294196621100 ", got "74535197802219120 "
4May 7, 2026 10:153,38843,513,34227,066,0001,055,0002,494,464
5May 7, 2026 10:153,38843,350,06027,055,0001,068,0002,478,080
6May 7, 2026 10:153,41042,610,85827,217,0001,088,0002,473,984
7May 7, 2026 10:153,50045,157,09327,932,0001,125,0002,490,368
8May 7, 2026 10:153,50147,954,17027,974,0001,085,0002,490,368
9May 7, 2026 10:153,54844,860,97528,392,0001,059,0002,486,272
10May 7, 2026 10:153,59045,781,42228,709,0001,091,0002,482,176
11May 7, 2026 10:153,59944,807,34728,797,0001,075,0002,469,888
12May 7, 2026 10:153,61544,349,79128,934,0001,078,0002,494,464