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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 21:00Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 21:01043,674,03734,718,0001,076,0002,113,536expected "74600294196621100 ", got "35384937705327404 "
2Jul 6, 2026 21:01044,429,81135,552,0001,026,0002,113,536expected "74600294196621100 ", got "35430185654128940 "
3Jul 6, 2026 21:01042,415,11833,438,0001,124,0002,113,536expected "74600294196621100 ", got "33092438181282092 "
4May 10, 2026 14:084,17645,037,06733,622,0001,041,0002,113,536
5May 10, 2026 14:084,17944,563,16433,657,0001,035,0002,113,536
6May 10, 2026 14:084,17944,780,98733,653,0001,034,0002,113,536
7May 10, 2026 14:084,18045,302,47733,672,0001,028,0002,113,536
8May 10, 2026 14:084,18242,336,70933,662,0001,053,0002,113,536
9May 10, 2026 14:084,18644,042,25633,696,0001,056,0002,113,536
10May 10, 2026 14:084,19942,361,50133,834,0001,019,0002,113,536
11May 10, 2026 14:084,20145,222,84933,817,0001,052,0002,113,536
12May 10, 2026 14:084,27843,077,86934,470,0001,039,0002,113,536