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 19:22Kevin HeaveyKevin HeaveyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:33Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:33086,409,62475,818,0001,010,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:33087,361,86576,624,0001,184,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:33086,083,04375,417,0001,183,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 19:233,80641,123,39830,422,0001,174,0002,117,632
5Jul 7, 2026 19:233,80941,176,72630,452,0001,170,0002,117,632
6Jul 7, 2026 19:233,85941,586,33130,886,0001,149,0002,117,632
7Jul 7, 2026 19:233,87341,669,38631,128,0001,020,0002,117,632
8Jul 7, 2026 19:233,88041,747,50931,012,0001,194,0002,117,632
9Jul 7, 2026 19:233,92742,211,84631,433,0001,167,0002,117,632
10Jul 7, 2026 19:234,11344,163,81532,936,0001,202,0002,117,632
11Jul 7, 2026 19:234,17544,280,66833,495,0001,163,0002,117,632
12Jul 7, 2026 19:234,20645,981,34633,730,0001,184,0002,117,632