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 listNov 20, 2026 14:34boop34boop34Score: 22,855Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2026 14:3422,624195,394,328186,778,0001,003,0002,117,632stderr
2Nov 20, 2026 14:3422,652195,611,049187,005,0001,012,0002,117,632stderr
3Nov 20, 2026 14:3422,727196,198,043187,595,0001,040,0002,117,632stderr
4Nov 20, 2026 14:3422,832197,344,586188,507,0001,002,0002,117,632stderr
5Nov 20, 2026 14:3422,855197,305,853188,694,0001,004,0002,117,632stderr
6Nov 20, 2026 14:3422,855197,270,530188,671,0001,027,0002,117,632stderr
7Nov 20, 2026 14:3422,870197,498,128188,791,0001,030,0002,117,632stderr
8Nov 20, 2026 14:3422,878197,539,519188,875,0001,014,0002,117,632stderr
9Nov 20, 2026 14:3423,265200,659,841192,097,0001,003,0002,117,632stderr