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

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 23:28Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 23:29039,561,37030,396,0001,008,0002,113,536expected "74600294196621100 ", got "74535230288498450 "
2Jul 3, 2026 23:29041,084,48630,379,0001,017,0002,113,536expected "74600294196621100 ", got "74535199045865470 "
3Jul 3, 2026 23:29037,905,44728,927,0001,036,0002,113,536expected "74600294196621100 ", got "74535198793930460 "
4May 9, 2026 14:133,37942,485,34627,011,0001,040,0002,490,368
5May 9, 2026 14:133,38643,442,62827,048,0001,062,0002,490,368
6May 9, 2026 14:133,38743,936,69427,033,0001,087,0002,486,272
7May 9, 2026 14:133,39444,972,49527,112,0001,065,0002,490,368
8May 9, 2026 14:133,40642,882,46227,232,0001,042,0002,486,272
9May 9, 2026 14:133,40744,097,19227,212,0001,069,0002,494,464
10May 9, 2026 14:133,46446,899,64127,685,0001,069,0002,482,176
11May 9, 2026 14:133,52442,998,70428,196,0001,056,0002,478,080
12May 9, 2026 14:133,58944,772,66428,727,0001,064,0002,486,272