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 16:14boop34boop34Score: 39,320Success
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 16:1538,968331,061,600322,288,0001,147,0002,117,632stderr
2Nov 20, 2026 16:1539,015331,356,822322,692,0001,138,0002,117,632stderr
3Nov 20, 2026 16:1539,111332,334,211323,525,0001,100,0002,117,632stderr
4Nov 20, 2026 16:1539,193332,857,009324,207,0001,103,0002,117,632stderr
5Nov 20, 2026 16:1539,320333,932,955325,206,0001,151,0002,117,632stderr
6Nov 20, 2026 16:1539,539335,815,231327,061,0001,118,0002,117,632stderr
7Nov 20, 2026 16:1539,624336,448,384327,717,0001,164,0002,117,632stderr
8Nov 20, 2026 16:1539,906344,739,267330,073,0001,150,0002,117,632stderr
9Nov 20, 2026 16:1540,235341,541,481332,794,0001,161,0002,117,632stderr