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 10, 2026 07:00Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:21Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:21042,837,89633,703,0001,063,0002,113,536expected "74600294196621100 ", got "35435763894128940 "
2Jul 6, 2026 20:21044,675,63332,624,0001,184,0002,113,536expected "74600294196621100 ", got "32617285604709876 "
3Jul 6, 2026 20:21043,188,63334,278,0001,069,0002,113,536expected "74600294196621100 ", got "35452162434933036 "
4May 10, 2026 07:014,09246,179,09932,846,0001,119,0002,482,176
5May 10, 2026 07:014,10348,249,10832,955,0001,106,0002,478,080
6May 10, 2026 07:014,10350,211,28532,920,0001,141,0002,486,272
7May 10, 2026 07:014,10649,562,08532,925,0001,158,0002,482,176
8May 10, 2026 07:014,11946,569,87133,045,0001,150,0002,478,080
9May 10, 2026 07:014,12449,943,10233,097,0001,138,0002,486,272
10May 10, 2026 07:014,13847,567,39833,316,0001,037,0002,486,272
11May 10, 2026 07:014,14150,323,26833,307,0001,064,0002,494,464
12May 10, 2026 07:014,14652,041,63333,364,0001,055,0002,486,272