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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:13Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:13036,638,69927,600,0001,030,0002,113,536expected "74600294196621100 ", got "74534753791545729 "
2Jul 6, 2026 17:13038,760,67629,771,0001,004,0002,113,536expected "74600294196621100 ", got "74535198018456790 "
3Jul 6, 2026 17:13036,057,98327,068,0001,020,0002,113,536expected "74600294196621100 ", got "74534679226588334 "
4May 7, 2026 08:513,53944,658,72528,275,0001,100,0002,486,272
5May 7, 2026 08:513,54447,240,35928,332,0001,084,0002,494,464
6May 7, 2026 08:513,56145,127,65728,499,0001,065,0002,486,272
7May 7, 2026 08:513,56344,386,40728,500,0001,076,0002,494,464
8May 7, 2026 08:513,56645,374,18428,468,0001,131,0002,469,888
9May 7, 2026 08:513,56743,658,65228,560,0001,050,0002,490,368
10May 7, 2026 08:513,57245,240,82728,574,0001,079,0002,482,176
11May 7, 2026 08:513,57646,950,21328,603,0001,082,0002,478,080
12May 7, 2026 08:513,59944,164,36928,788,0001,089,0002,478,080