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:25boop34boop34Score: 50,172Success
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:2650,057423,098,785414,381,0001,099,0002,117,632stderr
2Nov 20, 2026 15:2650,098423,385,224414,711,0001,103,0002,117,632stderr
3Nov 20, 2026 15:2650,170424,103,061415,242,0001,171,0002,117,632stderr
4Nov 20, 2026 15:2650,170424,036,686415,263,0001,151,0002,117,632stderr
5Nov 20, 2026 15:2650,172424,061,079415,324,0001,108,0002,117,632stderr
6Nov 20, 2026 15:2650,217424,639,210415,739,0001,068,0002,117,632stderr
7Nov 20, 2026 15:2650,318425,161,712416,539,0001,108,0002,117,632stderr
8Nov 20, 2026 15:2650,452426,367,956417,643,0001,113,0002,117,632stderr
9Nov 20, 2026 15:2652,473443,069,780434,412,0001,114,0002,117,632stderr