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 19, 2021 18:27Yuriy LyfenkoYuriy LyfenkoScore: 40,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 18:2740,536413,989,556336,451,81402,215,936
2May 19, 2021 19:0040,537411,629,713336,456,35802,232,320
3May 19, 2021 19:0040,545364,256,119336,525,84902,211,840
4May 19, 2021 19:0040,547390,631,781336,539,29902,224,128
5May 19, 2021 19:0040,551409,666,590336,574,94502,215,936
6May 19, 2021 18:2740,552390,151,368336,580,41202,211,840
7May 19, 2021 19:0040,555372,499,552336,609,15902,244,608
8May 19, 2021 18:2640,558396,187,988336,629,87002,244,608
9May 19, 2021 19:0040,570409,585,722336,730,74902,244,608
10May 19, 2021 18:2740,574370,987,282336,767,54602,248,704
11May 19, 2021 19:0040,574391,215,629336,763,44702,342,912
12May 19, 2021 19:0040,582433,606,775336,830,70902,256,896
13May 19, 2021 19:0040,583364,033,064336,839,76402,232,320
14May 19, 2021 18:2740,584375,060,624336,846,96102,220,032
15May 19, 2021 18:2640,585366,188,836336,854,16402,338,816
16May 19, 2021 18:2640,585381,081,057336,859,14402,256,896
17May 19, 2021 18:2740,588392,633,773336,878,91402,240,512
18May 19, 2021 18:2740,594378,560,355336,933,77302,199,552
19May 19, 2021 18:2740,618383,549,138337,128,77002,215,936
20May 19, 2021 18:2740,668386,211,612337,544,34702,236,416
21May 19, 2021 18:2740,674409,775,802337,598,12902,220,032