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 listJul 1, 2021 00:12Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 1, 2021 00:2000000Error: expected "53680038843613810 ", got "53680038843357810 "stderr
2Jul 1, 2021 00:1512,850424,493,089106,656,44302,236,416
3Jul 1, 2021 00:1212,854421,166,526106,687,86702,252,800
4Jul 1, 2021 00:1212,856418,353,326106,707,69502,236,416
5Jul 14, 2021 15:1412,856414,371,983106,707,83002,240,512
6Jul 1, 2021 00:1112,860412,054,317106,734,74502,240,512
7Jul 14, 2021 15:1412,860417,761,042106,734,84202,252,800
8Jul 14, 2021 15:1412,860416,733,908106,736,61702,232,320
9Jul 1, 2021 00:1512,860426,864,710106,734,25102,236,416
10Jul 1, 2021 00:1112,862421,357,986106,753,62902,260,992
11Jul 1, 2021 00:2012,862421,288,854106,758,71502,256,896
12Jul 1, 2021 00:1112,863408,760,963106,764,92702,244,608
13Jul 1, 2021 00:2012,863416,271,351106,764,15502,236,416
14Jul 1, 2021 00:1112,863413,046,887106,760,59002,232,320
15Jul 1, 2021 00:1112,876436,322,857106,868,79902,252,800
16Jul 1, 2021 00:1213,042379,043,823107,248,0001,002,0002,392,064
17Jul 1, 2021 00:1213,047384,498,675108,291,00002,523,136
18Jul 1, 2021 00:1213,048382,011,435107,293,0001,002,0002,523,136
19Jul 1, 2021 00:2013,048382,739,358108,299,00002,523,136
20Jul 1, 2021 00:2013,048380,585,949107,300,0001,002,0002,523,136
21Jul 1, 2021 00:1213,050381,211,341107,309,0001,002,0002,523,136
22Jul 1, 2021 00:2013,051380,238,471107,324,0001,003,0002,523,136
23Jul 1, 2021 00:2013,052384,377,316107,330,0001,003,0002,523,136
24Jul 1, 2021 00:1213,053380,057,817107,341,0001,003,0002,514,944
25Jul 1, 2021 00:2013,053391,664,992108,342,00002,523,136
26Jul 1, 2021 00:1213,055386,211,618107,352,0001,003,0002,260,992
27Jul 1, 2021 00:1213,057377,659,016108,373,00002,260,992
28Jul 1, 2021 00:2013,061384,736,755108,404,00002,523,136
29Jul 1, 2021 00:2013,062384,309,202108,411,00002,392,064
30Jul 1, 2021 00:1213,062385,338,783107,410,0001,003,0002,396,160
31Jul 1, 2021 00:1213,063380,965,583108,420,00002,260,992
32Jul 1, 2021 00:2013,063391,965,281107,419,0001,003,0002,387,968
33Jul 1, 2021 00:2013,065392,897,813107,436,0001,004,0002,396,160
34Jul 1, 2021 00:1113,338420,773,777110,706,17602,236,416
35Jul 1, 2021 00:1513,340442,158,856110,723,29902,232,320
36Jul 1, 2021 00:1213,342420,360,184110,739,16602,240,512
37Jul 1, 2021 00:2013,350419,324,142110,804,09002,236,416