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 7, 2026 10:10wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 23:36Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 23:36039,336,43129,971,0001,054,0002,113,536expected "74600294196621100 ", got "74535198525925120 "
2Jul 3, 2026 23:36037,560,35928,211,0001,005,0002,113,536expected "74600294196621100 ", got "74534756741636399 "
3Jul 3, 2026 23:36035,616,02426,789,0001,003,0002,113,536expected "74600294196621100 ", got "74534753212072968 "
4May 7, 2026 10:103,38946,309,94427,049,0001,082,0002,490,368
5May 7, 2026 10:103,39043,905,24827,070,0001,067,0002,482,176
6May 7, 2026 10:103,39343,342,42627,104,0001,064,0002,490,368
7May 7, 2026 10:103,39743,504,15627,137,0001,064,0002,494,464
8May 7, 2026 10:103,40744,511,29627,215,0001,068,0002,478,080
9May 7, 2026 10:103,41142,289,64527,237,0001,078,0002,490,368
10May 7, 2026 10:103,41943,661,40027,264,0001,116,0002,478,080
11May 7, 2026 10:103,59646,102,55228,707,0001,140,0002,494,464
12May 7, 2026 10:103,84251,867,06630,816,0001,079,0002,478,080