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 listJun 30, 2026 10:51Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:35Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:37054,597,64943,095,0002,050,0002,113,536expected "74600294196621100 ", got "61628916215488681 "
2Jul 7, 2026 05:37066,515,59144,518,0002,153,0002,113,536expected "74600294196621100 ", got "61628977405288792 "
3Jul 7, 2026 05:37064,994,60644,409,0002,175,0002,113,536expected "74600294196621100 ", got "61632404773647850 "
4Jun 30, 2026 10:535,72556,986,48945,339,0002,182,0002,113,536
5Jun 30, 2026 10:535,73656,911,70445,397,0002,215,0002,113,536
6Jun 30, 2026 10:535,73756,873,61245,543,0002,077,0002,113,536
7Jun 30, 2026 10:535,74157,064,51845,454,0002,201,0002,113,536
8Jun 30, 2026 10:535,75657,041,67145,671,0002,107,0002,113,536
9Jun 30, 2026 10:535,78757,244,03545,957,0002,083,0002,113,536
10Jun 30, 2026 10:535,79957,409,79946,033,0002,100,0002,113,536
11Jun 30, 2026 10:535,84957,854,94146,503,0002,049,0002,113,536
12Jun 30, 2026 10:535,93958,646,94447,222,0002,075,0002,113,536