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 listJul 4, 2023 13:19Berk Emre SarıbaşBerk Emre SarıbaşScore: 55,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2023 13:1855,262529,964,394458,670,98802,285,568
2Jul 4, 2023 13:1955,272530,146,945458,759,83002,293,760
3Jul 4, 2023 13:1855,285518,809,015458,869,13202,277,376
4Jul 4, 2023 13:1955,288513,494,062458,890,88502,289,664
5Jul 4, 2023 13:1855,306518,539,254459,042,15702,285,568
6Jul 4, 2023 13:1955,321528,337,411459,162,95602,289,664