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:55boop34boop34Score: 13,153Success
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:5613,047115,745,465107,265,0001,026,0002,117,632stderr
2Nov 20, 2026 14:5613,063116,400,503107,405,0001,023,0002,117,632stderr
3Nov 20, 2026 14:5613,099116,189,034107,665,0001,058,0002,117,632stderr
4Nov 20, 2026 14:5613,132116,462,529107,969,0001,029,0002,117,632stderr
5Nov 20, 2026 14:5613,153116,630,533108,141,0001,030,0002,117,632stderr
6Nov 20, 2026 14:5613,173116,926,963108,314,0001,029,0002,117,632stderr
7Nov 20, 2026 14:5613,180117,252,511108,339,0001,055,0002,117,632stderr
8Nov 20, 2026 14:5613,206117,407,423108,567,0001,048,0002,117,632stderr
9Nov 20, 2026 14:5613,478119,354,023110,828,0001,040,0002,117,632stderr