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 06:51Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:47Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:48044,268,14535,074,0001,138,0002,113,536expected "74600294196621100 ", got "32905793504799532 "
2Jul 6, 2026 20:48043,941,90934,755,0001,134,0002,113,536expected "74600294196621100 ", got "32905790944799532 "
3Jul 6, 2026 20:48042,308,96933,111,0001,133,0002,113,536expected "74600294196621100 ", got "35540310116521793 "
4May 10, 2026 06:524,13751,635,19633,228,0001,116,0002,482,176
5May 10, 2026 06:524,14546,774,76033,302,0001,106,0002,482,176
6May 10, 2026 06:524,15051,102,93233,294,0001,157,0002,473,984
7May 10, 2026 06:524,16450,355,88433,496,0001,068,0002,478,080
8May 10, 2026 06:524,16450,103,58633,531,0001,034,0002,482,176
9May 10, 2026 06:524,17552,402,55533,611,0001,042,0002,490,368
10May 10, 2026 06:524,19551,012,26533,706,0001,119,0002,486,272
11May 10, 2026 06:524,22450,066,22533,992,0001,069,0002,469,888
12May 10, 2026 06:524,29948,195,44434,592,0001,091,0002,478,080