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 05:08Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:13Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:13043,706,16234,410,0001,161,0002,113,536expected "74600294196621100 ", got "35436284854128940 "
2Jul 6, 2026 20:13042,114,24432,888,0001,157,0002,113,536expected "74600294196621100 ", got "32667912869282092 "
3Jul 6, 2026 20:13042,883,58533,732,0001,097,0002,113,536expected "74600294196621100 ", got "35385952984260396 "
4May 10, 2026 05:084,09251,878,78532,850,0001,119,0002,482,176
5May 10, 2026 05:084,09852,077,79832,889,0001,128,0002,482,176
6May 10, 2026 05:084,10451,170,32932,910,0001,158,0002,486,272
7May 10, 2026 05:084,10848,531,08932,990,0001,112,0002,482,176
8May 10, 2026 05:084,10951,251,20032,999,0001,112,0002,494,464
9May 10, 2026 05:084,12552,548,26433,096,0001,147,0002,494,464
10May 10, 2026 05:084,12749,293,22233,202,0001,057,0002,486,272
11May 10, 2026 05:084,12851,869,12633,211,0001,056,0002,490,368
12May 10, 2026 05:084,13052,171,17733,113,0001,172,0002,490,368