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 listJul 7, 2026 18:44Kevin HeaveyKevin HeaveyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:59Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 22:04097,358,50185,705,0002,043,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 22:04096,033,45385,404,0001,011,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 22:04096,802,46385,182,0002,032,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 18:483,97342,472,76931,941,0001,037,0002,117,632
5Jul 7, 2026 18:483,97642,524,34831,968,0001,037,0002,117,632
6Jul 7, 2026 18:483,98742,630,27932,056,0001,037,0002,117,632
7Jul 7, 2026 18:484,01042,788,75832,253,0001,038,0002,117,632
8Jul 7, 2026 18:484,04143,071,79732,513,0001,035,0002,117,632
9Jul 7, 2026 18:484,07843,303,88532,815,0001,035,0002,117,632
10Jul 7, 2026 18:484,08443,436,50032,865,0001,037,0002,117,632
11Jul 7, 2026 18:484,12743,708,75233,227,0001,035,0002,117,632
12Jul 7, 2026 18:484,25344,863,77334,270,0001,034,0002,117,632