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 29, 2021 20:40Ilya AniskovetsIlya AniskovetsScore: 40,957Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 29, 2021 20:4040,777399,955,771338,452,98802,281,472
2Oct 29, 2021 20:4040,930399,562,908339,721,38002,285,568
3Oct 29, 2021 20:4040,950406,966,240339,885,91602,277,376
4Oct 29, 2021 20:4040,957406,760,350339,939,26702,281,472
5Oct 29, 2021 20:4040,957414,031,866339,942,99802,281,472
6Oct 29, 2021 20:4040,962403,135,856339,980,64002,269,184