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 listFeb 6, 2025 12:25Vladimir EvmenovVladimir EvmenovScore: 100,242Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 6, 2025 12:2599,758853,764,877579,995,000247,998,0002,330,624
2Feb 6, 2025 12:25100,242857,631,676584,302,000247,704,0002,433,024
3Feb 6, 2025 12:25100,244859,985,186578,322,000253,702,0002,441,216