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

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:40Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:40096,630,23586,000,0001,010,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:40097,594,16886,954,0001,009,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:40097,714,08387,134,0001,010,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 18:363,84041,364,50230,848,0001,024,0002,117,632
5Jul 7, 2026 18:363,86341,665,83531,046,0001,021,0002,117,632
6Jul 7, 2026 18:363,86441,736,97931,052,0001,021,0002,117,632
7Jul 7, 2026 18:363,95542,364,42331,815,0001,018,0002,117,632
8Jul 7, 2026 18:363,98242,653,64632,035,0001,019,0002,117,632
9Jul 7, 2026 18:364,03843,107,74332,496,0001,020,0002,117,632
10Jul 7, 2026 18:364,08643,549,85832,896,0001,020,0002,117,632
11Jul 7, 2026 18:364,16144,168,20633,522,0001,021,0002,117,632
12Jul 7, 2026 18:364,22544,834,90534,048,0001,020,0002,117,632