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 19, 2022 01:20Yuriy 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
1Sep 19, 2022 01:2200000Error: No answer to stdout. Died or killed?
2Sep 19, 2022 01:2100000Error: No answer to stdout. Died or killed?
3Sep 19, 2022 01:219,700142,295,29680,507,83002,285,568
4Sep 19, 2022 01:219,780146,985,62281,174,67902,293,760
5Sep 19, 2022 01:219,797147,005,03781,311,41502,285,568
6Sep 19, 2022 01:209,909155,712,22282,246,78402,273,280
7Sep 19, 2022 01:209,955146,102,25982,624,15802,277,376
8Sep 19, 2022 01:2010,045166,531,25783,376,04402,281,472
9Sep 19, 2022 01:2010,046144,863,76183,382,81102,265,088
10Sep 19, 2022 01:2110,064114,146,28880,509,0003,019,0002,510,848
11Sep 19, 2022 01:2110,108111,973,93579,902,0003,995,0002,277,376
12Sep 19, 2022 01:2110,121114,806,69480,004,0004,000,0002,314,240
13Sep 19, 2022 01:2010,129168,247,77684,073,02802,269,184
14Sep 19, 2022 01:2110,138107,683,03380,139,0004,006,0002,265,088
15Sep 19, 2022 01:2110,148105,223,67978,211,0006,016,0002,289,664
16Sep 19, 2022 01:2110,159107,946,41579,304,0005,019,0002,400,256
17Sep 19, 2022 01:2010,176142,209,54884,458,99902,211,840
18Sep 19, 2022 01:2110,181107,633,95382,494,0002,012,0002,301,952
19Sep 19, 2022 01:2110,195110,952,31081,600,0003,022,0002,494,464
20Sep 19, 2022 01:2010,305111,417,53581,508,0004,025,0002,523,136
21Sep 19, 2022 01:2010,331112,386,27682,759,0002,991,0002,498,560
22Sep 19, 2022 01:2010,333114,484,37778,784,0006,980,0002,494,464
23Sep 19, 2022 01:2110,351107,694,82082,915,0002,996,0002,428,928
24Sep 19, 2022 01:2010,353113,274,19080,935,0004,996,0002,383,872
25Sep 19, 2022 01:2010,360108,710,15882,991,0002,999,0002,465,792
26Sep 19, 2022 01:2010,362109,285,14282,004,0004,000,0002,359,296
27Sep 19, 2022 01:2010,384111,853,52484,185,0002,004,0002,277,376
28Sep 19, 2022 01:2010,403112,489,52480,323,0006,024,0002,408,448
29Sep 19, 2022 01:2010,420115,619,98981,462,0005,028,0002,441,216
30Sep 19, 2022 01:2010,444112,209,29981,707,0004,982,0002,351,104
31Sep 19, 2022 01:2010,466108,804,69481,873,0004,992,0002,461,696
32Sep 19, 2022 01:2010,504110,901,26684,179,0003,006,0002,465,792
33Sep 19, 2022 01:2010,581113,206,78783,830,0003,991,0002,433,024
34Sep 19, 2022 01:2010,631112,547,83582,219,0006,016,0002,416,640
35Sep 19, 2022 01:2010,721114,043,84983,988,0004,999,0002,502,656
36Sep 19, 2022 01:2010,736112,793,29782,099,0007,008,0002,449,408
37Sep 19, 2022 01:2010,739118,364,65186,131,0003,004,0002,523,136
38Sep 19, 2022 01:2011,004114,409,88789,327,0002,007,0002,437,120