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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:15Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:15040,171,05931,286,0001,003,0002,113,536expected "74600294196621100 ", got "74536609063792924 "
2Jul 6, 2026 18:15041,595,47232,351,0001,012,0002,113,536expected "74600294196621100 ", got "74535200973301710 "
3Jul 6, 2026 18:15040,156,87030,649,0001,044,0002,113,536expected "74600294196621100 ", got "74534751587039748 "
4May 10, 2026 09:493,72844,958,79629,865,0001,084,0002,473,984
5May 10, 2026 09:493,85645,579,49830,955,0001,053,0002,478,080
6May 10, 2026 09:493,85747,398,57030,953,0001,064,0002,482,176
7May 10, 2026 09:493,88049,864,20831,120,0001,089,0002,482,176
8May 10, 2026 09:493,88045,542,23931,150,0001,060,0002,486,272
9May 10, 2026 09:493,89846,413,05831,309,0001,049,0002,490,368
10May 10, 2026 09:493,90546,636,85231,336,0001,077,0002,482,176
11May 10, 2026 09:493,91045,879,80131,374,0001,080,0002,486,272
12May 10, 2026 09:493,91849,747,53531,440,0001,086,0002,478,080