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:41wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:27Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:27039,344,19130,060,0001,010,0002,113,536expected "74600294196621100 ", got "74535196937949120 "
2Jul 6, 2026 15:27035,913,21827,013,0001,025,0002,113,536expected "74600294196621100 ", got "74534688107299554 "
3Jul 6, 2026 15:27037,693,80228,727,0001,036,0002,113,536expected "74600294196621100 ", got "74535200587602810 "
4May 7, 2026 10:423,41845,516,55727,317,0001,054,0002,486,272
5May 7, 2026 10:423,41941,616,24527,324,0001,058,0002,490,368
6May 7, 2026 10:423,43545,447,66227,442,0001,069,0002,490,368
7May 7, 2026 10:423,43643,555,49527,445,0001,075,0002,482,176
8May 7, 2026 10:423,44444,243,15427,506,0001,080,0002,486,272
9May 7, 2026 10:423,46341,050,30527,633,0001,114,0002,473,984
10May 7, 2026 10:423,62646,391,20829,025,0001,075,0002,478,080
11May 7, 2026 10:423,64444,521,60929,161,0001,085,0002,478,080
12May 7, 2026 10:423,64746,050,28829,166,0001,110,0002,482,176