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

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:36Adam Folwarczny26.68CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:36095,862,93185,277,0001,010,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:36093,840,89583,062,0001,237,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:36094,970,74284,267,0001,010,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 13:523,83141,340,83930,673,0001,130,0002,117,632
5Jul 7, 2026 13:523,85241,532,79630,801,0001,173,0002,117,632
6Jul 7, 2026 13:523,89041,841,85531,264,0001,031,0002,117,632
7Jul 7, 2026 13:523,93942,307,88731,529,0001,168,0002,117,632
8Jul 7, 2026 13:523,94942,369,73331,761,0001,020,0002,117,632
9Jul 7, 2026 13:523,95742,535,22931,648,0001,201,0002,117,632
10Jul 7, 2026 13:523,95842,408,56131,681,0001,172,0002,117,632
11Jul 7, 2026 13:524,11845,587,32033,159,0001,026,0002,117,632
12Jul 7, 2026 13:524,14643,985,42333,262,0001,151,0002,117,632