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 listJun 19, 2023 04:07sliceteamsliceteamScore: 35,160Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 04:0735,133366,468,813291,603,06902,265,088
2Jun 19, 2023 04:2635,133356,707,193291,606,34302,265,088
3Jun 19, 2023 04:2635,142354,274,977291,681,79502,260,992
4Jun 19, 2023 04:0735,160359,468,539291,828,86502,265,088
5Jun 19, 2023 04:2635,163362,954,994291,855,68902,260,992
6Jun 19, 2023 04:0735,167351,003,910291,888,50102,277,376