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 listMay 29, 2023 23:45sliceteamsliceteamScore: 66,949Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2023 23:4566,939631,031,043555,591,84902,293,760
2May 29, 2023 23:4566,949625,259,154555,679,37002,297,856
3May 29, 2023 23:4568,849643,706,076571,447,02802,281,472