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 6, 2021 11:15Andrey TsvetkovAndrey TsvetkovScore: 50,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 08:4950,493475,503,978419,092,58402,211,840
2May 30, 2021 08:4950,512485,328,588419,246,36102,207,744
3May 30, 2021 08:4950,524482,127,098419,349,14802,207,744
4Jun 6, 2021 11:1550,534475,698,520419,429,45002,211,840
5Jun 6, 2021 11:1550,536491,560,179419,445,38702,207,744
6Jun 6, 2021 11:1550,537489,477,794419,457,25002,199,552