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 8, 2023 11:57Serge SmirnovSerge SmirnovScore: 59,662Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2023 11:5459,621566,579,541494,854,67502,293,760
2Oct 8, 2023 11:5459,644558,618,077495,047,36802,252,800
3Oct 8, 2023 11:5459,653565,585,600495,118,14002,285,568
4Oct 8, 2023 11:5759,662562,490,886495,197,83302,285,568
5Oct 8, 2023 11:5759,669563,483,828495,254,60402,293,760
6Oct 8, 2023 11:5759,762557,347,941496,021,22302,277,376