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:44boop34boop34Score: 28,725Success
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:4428,630245,194,311236,627,0001,010,0002,117,632stderr
2Nov 19, 2026 12:4428,659245,488,460236,859,0001,015,0002,117,632stderr
3Nov 19, 2026 12:4428,672245,660,037236,949,0001,029,0002,117,632stderr
4Nov 19, 2026 12:4428,684245,768,274237,063,0001,016,0002,117,632stderr
5Nov 19, 2026 12:4428,725246,299,955237,422,0001,003,0002,117,632stderr
6Nov 19, 2026 12:4428,777246,395,568237,775,0001,077,0002,117,632stderr
7Nov 19, 2026 12:4428,810247,886,010238,119,0001,011,0002,117,632stderr
8Nov 19, 2026 12:4428,886247,418,596238,759,0001,003,0002,117,632stderr
9Nov 19, 2026 12:4428,890247,456,702238,773,0001,018,0002,117,632stderr