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 19, 2026 12:55boop34boop34Score: 23,612Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2026 12:5623,333201,163,058192,659,0001,009,0002,117,632stderr
2Nov 19, 2026 12:5623,403201,936,566193,085,0001,161,0002,117,632stderr
3Nov 19, 2026 12:5623,497202,603,941194,013,0001,018,0002,117,632stderr
4Nov 19, 2026 12:5623,510202,692,331194,128,0001,010,0002,117,632stderr
5Nov 19, 2026 12:5623,612203,841,088194,888,0001,092,0002,117,632stderr
6Nov 19, 2026 12:5623,630204,149,167195,131,0001,002,0002,117,632stderr
7Nov 19, 2026 12:5623,647204,125,041195,250,0001,025,0002,117,632stderr
8Nov 19, 2026 12:5623,726204,774,670195,849,0001,083,0002,117,632stderr
9Nov 19, 2026 12:5624,024206,983,344198,399,0001,007,0002,117,632stderr