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

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

Challenge History
DateChallengerCostTypeStatus
Jul 4, 2026 01:34Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2026 01:34039,762,51130,405,0001,029,0002,113,536expected "74600294196621100 ", got "74535198875434460 "
2Jul 4, 2026 01:34035,531,45326,736,0001,027,0002,113,536expected "74600294196621100 ", got "74534753573894739 "
3Jul 4, 2026 01:34035,507,64426,709,0001,017,0002,113,536expected "74600294196621100 ", got "74534748635202069 "
4May 10, 2026 13:143,39138,062,45528,153,00002,113,536
5May 10, 2026 13:143,39936,776,89328,213,00002,113,536
6May 10, 2026 13:143,40438,852,99628,259,00002,113,536
7May 10, 2026 13:143,41535,887,95928,349,00002,113,536
8May 10, 2026 13:143,41536,635,14128,352,00002,113,536
9May 10, 2026 13:143,43439,092,25528,505,00002,113,536
10May 10, 2026 13:143,43638,981,69628,525,00002,113,536
11May 10, 2026 13:143,46637,734,88028,768,00002,113,536
12May 10, 2026 13:143,52747,559,43228,263,0001,014,0002,113,536