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 listOct 9, 2021 08:30Andrey TsvetkovAndrey TsvetkovScore: 37,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2021 08:3037,693364,268,640312,849,42502,207,744
2Oct 9, 2021 08:2837,694380,052,483312,861,83002,207,744
3Oct 9, 2021 08:2837,697380,714,672312,885,16302,199,552
4Oct 9, 2021 08:3037,703364,620,520312,932,89902,207,744
5Oct 9, 2021 08:2837,710373,393,311312,995,45202,207,744
6Oct 9, 2021 08:3037,712370,501,027313,009,77702,220,032