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:49Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 8, 2026 12:55wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2026 12:56057,200,59045,313,0002,201,0002,113,536expected "99999999197530561 ", got "86414768464344619 "
2Jul 8, 2026 12:56056,810,77245,177,0002,173,0002,113,536expected "99999999942548672 ", got "86414768509344619 "
3Jul 8, 2026 12:56056,902,61245,094,0002,213,0002,113,536expected "99999998293628982 ", got "86414767459444619 "
4Jun 30, 2026 10:495,80557,643,50345,992,0002,191,0002,113,536
5Jun 30, 2026 10:495,82557,681,91946,124,0002,229,0002,113,536
6Jun 30, 2026 10:495,85657,880,50946,330,0002,281,0002,113,536
7Jun 30, 2026 10:495,85958,042,96146,562,0002,074,0002,113,536
8Jun 30, 2026 10:495,87058,073,77446,531,0002,196,0002,113,536
9Jun 30, 2026 10:495,89358,189,60246,859,0002,057,0002,113,536
10Jun 30, 2026 10:495,90458,403,13646,805,0002,206,0002,113,536
11Jun 30, 2026 10:495,93558,584,40447,063,0002,200,0002,113,536
12Jun 30, 2026 10:496,08759,840,86548,467,0002,060,0002,113,536