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

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:37Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:380102,813,71992,145,0001,011,0002,117,632expected "27617841214539459 ", got "27617841185063141"
2Jul 7, 2026 21:380104,597,68492,249,0001,261,0002,117,632expected "27617841214539459 ", got "27617841185063141"
3Jul 7, 2026 21:380103,065,04792,468,0001,008,0002,117,632expected "27617841214539459 ", got "27617841185063141"
4Jul 7, 2026 15:273,93942,260,11131,523,0001,173,0002,117,632
5Jul 7, 2026 15:273,94342,391,02331,563,0001,168,0002,117,632
6Jul 7, 2026 15:273,94542,289,90531,605,0001,144,0002,117,632
7Jul 7, 2026 15:273,94642,351,31331,580,0001,177,0002,117,632
8Jul 7, 2026 15:273,95442,337,01931,639,0001,181,0002,117,632
9Jul 7, 2026 15:273,96042,401,59631,708,0001,163,0002,117,632
10Jul 7, 2026 15:273,96742,414,93331,760,0001,173,0002,117,632
11Jul 7, 2026 15:273,99042,712,83631,927,0001,192,0002,117,632
12Jul 7, 2026 15:274,25244,827,83334,112,0001,184,0002,117,632