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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:23Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:23043,187,50534,057,0001,123,0002,113,536expected "74600294196621100 ", got "35414640054128940 "
2Jul 6, 2026 20:23041,731,10832,477,0001,154,0002,113,536expected "74600294196621100 ", got "32878897624766508 "
3Jul 6, 2026 20:23043,090,61433,890,0001,149,0002,113,536expected "74600294196621100 ", got "35384886505327404 "
4May 10, 2026 05:534,08951,256,30932,829,0001,116,0002,478,080
5May 10, 2026 05:534,10449,677,00032,917,0001,147,0002,494,464
6May 10, 2026 05:534,11249,518,91732,981,0001,149,0002,486,272
7May 10, 2026 05:534,12151,477,82633,150,0001,056,0002,494,464
8May 10, 2026 05:534,12251,861,45033,157,0001,062,0002,486,272
9May 10, 2026 05:534,12750,668,22433,204,0001,053,0002,482,176
10May 10, 2026 05:534,12951,370,14933,201,0001,076,0002,482,176
11May 10, 2026 05:534,13649,990,60733,272,0001,058,0002,494,464
12May 10, 2026 05:534,26050,641,32534,320,0001,042,0002,482,176