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 3, 2026 12:34limanjun99limanjun99Error
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:13Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:13054,103,62742,129,0002,327,0002,113,536expected "74600294196621100 ", got "74528204596948780"
2Jul 7, 2026 05:13053,347,73041,474,0002,241,0002,113,536expected "74600294196621100 ", got "74528204596948780"
3Jul 7, 2026 05:135,45155,764,75541,834,0003,412,0002,113,536
4May 3, 2026 12:355,61266,223,40642,531,0004,050,0002,420,736
5May 3, 2026 12:355,61364,986,67243,556,0003,038,0002,412,544
6May 3, 2026 12:355,62366,552,71242,618,0004,058,0002,433,024
7May 3, 2026 12:355,63263,493,71642,687,0004,065,0002,424,832
8May 3, 2026 12:355,63761,214,61442,725,0004,069,0002,428,928
9May 3, 2026 12:355,65164,576,41743,846,0003,059,0002,433,024
10May 3, 2026 12:355,65273,530,87442,833,0004,079,0002,428,928
11May 3, 2026 12:355,69565,179,48443,249,0004,023,0002,424,832
12May 3, 2026 12:355,85867,311,21644,573,0004,052,0002,433,024