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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:16Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:16044,183,69634,961,0001,133,0002,113,536expected "74600294196621100 ", got "32905790944799532 "
2Jul 6, 2026 20:16042,088,12532,839,0001,151,0002,113,536expected "74600294196621100 ", got "35537896221077292 "
3Jul 6, 2026 20:16042,285,22633,008,0001,129,0002,113,536expected "74600294196621100 ", got "35689045277073452 "
4May 10, 2026 18:164,09742,031,55932,964,0001,044,0002,113,536
5May 10, 2026 18:164,10043,437,85132,977,0001,058,0002,113,536
6May 10, 2026 18:164,10142,177,51233,000,0001,044,0002,113,536
7May 10, 2026 18:164,11144,886,29233,076,0001,052,0002,113,536
8May 10, 2026 18:164,11344,218,66833,070,0001,071,0002,113,536
9May 10, 2026 18:164,12345,263,30333,139,0001,084,0002,113,536
10May 10, 2026 18:164,14444,022,56233,326,0001,074,0002,113,536
11May 10, 2026 18:164,15642,011,26633,419,0001,084,0002,113,536
12May 10, 2026 18:164,18144,733,80133,642,0001,062,0002,113,536