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 17, 2021 20:22Yuriy LyfenkoYuriy LyfenkoScore: 17,514Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 20:2217,493545,042,012143,201,0001,988,0002,260,992
2May 17, 2021 20:2017,4981,519,845,462144,241,000994,0002,519,040
3May 17, 2021 20:2017,501658,678,357145,259,00002,260,992
4May 17, 2021 20:2017,5031,309,801,423143,275,0002,003,0002,260,992
5May 17, 2021 20:2017,504466,138,822144,281,0001,001,0002,260,992
6May 17, 2021 20:2017,5052,032,203,536143,303,0001,990,0002,265,088
7May 17, 2021 20:2217,5061,896,993,413142,317,0002,985,0002,519,040
8May 17, 2021 20:2017,506424,598,043142,312,0002,985,0002,387,968
9May 17, 2021 20:2217,5091,572,137,478145,321,00002,265,088
10May 17, 2021 20:2217,5142,246,998,839143,378,0001,991,0002,260,992
11May 17, 2021 20:2017,5142,260,808,299143,365,0002,005,0002,519,040
12May 17, 2021 20:2217,5151,317,127,757143,373,0002,005,0002,256,896
13May 17, 2021 20:2217,515883,877,368145,375,00002,256,896
14May 17, 2021 20:2217,515182,557,888143,381,0001,991,0002,523,136
15May 17, 2021 20:2017,5162,921,063,463144,385,000995,0002,519,040
16May 17, 2021 20:2017,521987,870,843142,440,0002,988,0002,506,752
17May 17, 2021 20:2217,5221,039,232,971142,448,0002,988,0002,265,088
18May 17, 2021 20:2217,5311,581,619,142143,516,0001,993,0002,519,040