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 15:03boop34boop34Score: 13,296Success
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 15:0313,201116,937,667108,566,0001,004,0002,117,632stderr
2Nov 20, 2026 15:0313,202116,952,583108,568,0001,011,0002,117,632stderr
3Nov 20, 2026 15:0313,269117,533,158109,111,0001,025,0002,117,632stderr
4Nov 20, 2026 15:0313,275117,691,915109,184,0001,006,0002,117,632stderr
5Nov 20, 2026 15:0313,296117,847,197109,351,0001,014,0002,117,632stderr
6Nov 20, 2026 15:0313,299117,719,359109,379,0001,009,0002,117,632stderr
7Nov 20, 2026 15:0313,328118,036,797109,606,0001,023,0002,117,632stderr
8Nov 20, 2026 15:0313,603120,268,956111,897,0001,013,0002,117,632stderr
9Nov 20, 2026 15:0314,227125,440,729117,088,0001,002,0002,117,632stderr