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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:04Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:04038,819,26629,152,0001,027,0002,113,536expected "74600294196621100 ", got "74535199185867800 "
2Jul 6, 2026 17:04035,558,83226,801,0001,007,0002,113,536expected "74600294196621100 ", got "74534686023567474 "
3Jul 6, 2026 17:04037,842,98928,377,0001,054,0002,113,536expected "74600294196621100 ", got "74534681121022664 "
4May 9, 2026 12:543,39645,421,84927,130,0001,058,0002,482,176
5May 9, 2026 12:543,41040,836,85427,280,0001,023,0002,482,176
6May 9, 2026 12:543,51743,797,82228,127,0001,072,0002,486,272
7May 9, 2026 12:543,53747,465,76028,297,0001,067,0002,486,272
8May 9, 2026 12:543,55446,714,50228,397,0001,106,0002,490,368
9May 9, 2026 12:543,56043,866,35728,483,0001,069,0002,494,464
10May 9, 2026 12:543,57643,944,13328,581,0001,106,0002,482,176
11May 9, 2026 12:543,58045,563,52328,624,0001,094,0002,482,176
12May 9, 2026 12:543,58144,479,32628,636,0001,088,0002,494,464