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 6, 2021 17:14Yuriy LyfenkoYuriy LyfenkoScore: 19,621Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 6, 2021 17:1419,485186,782,504160,728,000998,0002,260,992
2May 6, 2021 17:1419,485189,189,014160,729,000998,0002,387,968
3May 6, 2021 17:1419,488188,538,852158,753,0002,995,0002,260,992
4May 6, 2021 17:1419,493192,214,627158,792,0002,996,0002,260,992
5May 6, 2021 17:1419,505191,587,391159,893,0001,998,0002,260,992
6May 6, 2021 17:1419,508189,282,242160,915,000999,0002,260,992
7May 6, 2021 17:1419,615187,644,007161,805,000998,0002,260,992
8May 6, 2021 17:1419,618191,717,140160,829,0001,997,0002,396,160
9May 6, 2021 17:1419,618188,663,970159,836,0002,996,0002,260,992
10May 6, 2021 17:1419,621189,642,494160,855,0001,998,0002,392,064
11May 6, 2021 17:1419,624191,052,423159,885,0002,997,0002,260,992
12May 6, 2021 17:1419,625187,846,508160,889,0001,998,0002,506,752
13May 6, 2021 17:1419,626194,695,558159,897,0002,998,0002,260,992
14May 6, 2021 17:1419,631191,944,738160,936,0001,999,0002,392,064
15May 6, 2021 17:1419,638188,868,546160,996,0001,999,0002,260,992
16May 6, 2021 17:1419,639193,514,609162,005,0001,000,0002,260,992
17May 6, 2021 17:1419,640192,734,730161,011,0002,000,0002,510,848
18May 6, 2021 17:1419,645193,981,096162,051,0001,000,0002,387,968