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 listNov 27, 2022 13:54Vlad ShcherbinaVlad ShcherbinaScore: 86,305Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2022 13:4286,234783,234,060715,745,98502,224,128
2Nov 27, 2022 13:4286,270776,887,856716,042,78602,228,224
3Nov 27, 2022 13:5486,289777,088,368716,202,13702,232,320
4Nov 27, 2022 13:5486,305781,718,958716,330,92602,236,416
5Nov 27, 2022 13:4286,332777,336,446716,554,60502,232,320
6Nov 27, 2022 13:5486,444787,707,066717,481,72302,240,512