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

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:34Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:34096,571,54385,813,0001,175,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:34095,470,47684,647,0001,268,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:34096,906,64686,350,0001,008,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 18:353,81841,241,31130,512,0001,180,0002,117,632
5Jul 7, 2026 18:353,82141,288,25930,546,0001,173,0002,117,632
6Jul 7, 2026 18:353,82541,446,45330,579,0001,174,0002,117,632
7Jul 7, 2026 18:353,82541,280,87630,589,0001,164,0002,117,632
8Jul 7, 2026 18:353,92742,126,76231,420,0001,175,0002,117,632
9Jul 7, 2026 18:353,95042,329,69531,615,0001,172,0002,117,632
10Jul 7, 2026 18:354,00942,865,46032,066,0001,216,0002,117,632
11Jul 7, 2026 18:354,05243,197,85332,454,0001,183,0002,117,632
12Jul 7, 2026 18:354,14143,878,74833,206,0001,167,0002,117,632