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 listSep 7, 2021 18:58Andrey TsvetkovAndrey TsvetkovScore: 33,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2021 18:4733,618342,789,232279,029,23602,228,224
2Sep 7, 2021 19:0333,623345,246,605279,073,05402,232,320
3Sep 7, 2021 19:0333,632341,153,247279,146,15302,236,416
4Sep 7, 2021 18:5833,633342,029,535279,149,96902,228,224
5Sep 7, 2021 18:4733,638352,768,427279,191,57702,236,416
6Sep 7, 2021 18:5833,643352,928,036279,238,25602,236,416
7Sep 7, 2021 18:4733,645351,076,837279,250,77902,232,320
8Sep 7, 2021 18:5833,649352,513,151279,285,84202,236,416
9Sep 7, 2021 19:0333,657336,716,864279,351,35802,232,320