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 16:36renrenScore: 192,436Success
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 16:36188,8331,635,892,5971,567,310,72902,224,128
2Oct 8, 2023 16:36188,8541,634,974,9021,567,485,94402,220,032
3Oct 8, 2023 16:36188,9691,633,146,6661,568,442,01102,220,032
4Oct 8, 2023 16:36192,4361,683,835,7801,597,222,90402,301,952
5Oct 8, 2023 16:36192,4391,669,937,6071,597,242,59502,293,760
6Oct 8, 2023 16:36192,5861,652,584,5871,598,467,66502,293,760