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

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:35Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:35095,035,99184,262,0001,213,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:35094,263,95483,653,0001,010,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:35095,951,36185,433,0001,009,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 16:223,84141,387,80930,703,0001,180,0002,117,632
5Jul 7, 2026 16:223,85841,522,65130,852,0001,177,0002,117,632
6Jul 7, 2026 16:223,87341,667,30830,975,0001,172,0002,117,632
7Jul 7, 2026 16:223,94042,294,10631,498,0001,207,0002,117,632
8Jul 7, 2026 16:223,94342,315,86331,507,0001,226,0002,117,632
9Jul 7, 2026 16:223,99451,739,09331,969,0001,184,0002,117,632
10Jul 7, 2026 16:224,06143,225,89032,547,0001,165,0002,117,632
11Jul 7, 2026 16:224,06643,380,31332,576,0001,177,0002,117,632
12Jul 7, 2026 16:224,10243,670,31632,843,0001,209,0002,117,632