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 24, 2021 06:58Andrei GrazhdankovAndrei GrazhdankovScore: 56,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:5856,470552,064,759468,703,15302,236,416
2May 24, 2021 06:5856,489526,817,654468,861,32602,220,032
3May 24, 2021 06:5856,495533,593,934468,911,48102,228,224
4May 24, 2021 06:5856,499532,818,813468,938,87902,228,224
5May 24, 2021 06:5856,508549,658,231469,019,24602,236,416
6May 24, 2021 06:5856,530523,219,024469,202,77202,228,224