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

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 01:33Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 01:34045,303,95937,175,000020,480expected "74600294196621100 ", got "32911591870660396 "
2Jul 7, 2026 01:34044,247,86636,172,000020,480expected "74600294196621100 ", got "35690667549072172 "
3Jul 7, 2026 01:34043,781,90235,686,000020,480expected "74600294196621100 ", got "35684160566390828 "
4May 10, 2026 03:314,39652,227,51235,355,0001,139,0002,551,808
5May 10, 2026 03:314,39751,622,66535,395,0001,107,0002,560,000
6May 10, 2026 03:314,39852,910,14935,393,0001,115,0002,543,616
7May 10, 2026 03:314,40450,643,53935,461,0001,095,0002,539,520
8May 10, 2026 03:314,41652,356,75935,637,0001,019,0002,555,904
9May 10, 2026 03:314,42755,210,45535,724,0001,027,0002,543,616
10May 10, 2026 03:314,44351,687,97535,791,0001,092,0002,547,712
11May 10, 2026 03:314,44954,267,92335,846,0001,082,0002,543,616
12May 10, 2026 03:314,50053,499,50536,319,0001,036,0002,560,000