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 23:30GusandrGusandrScore: 6,915Success
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 23:306,90666,427,00156,161,0001,163,0002,113,536
2Nov 19, 2026 23:306,90966,450,45156,178,0001,167,0002,113,536
3Nov 19, 2026 23:306,91266,497,89456,198,0001,178,0002,113,536
4Nov 19, 2026 23:306,91566,563,44556,222,0001,173,0002,113,536
5Nov 19, 2026 23:306,91566,483,75556,221,0001,181,0002,113,536
6Nov 19, 2026 23:306,91666,531,07556,207,0001,199,0002,113,536
7Nov 19, 2026 23:306,93066,632,10256,347,0001,178,0002,113,536
8Nov 19, 2026 23:306,93366,641,49756,366,0001,186,0002,113,536
9Nov 19, 2026 23:306,93666,684,63456,397,0001,179,0002,113,536