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 listOct 14, 2024 01:00Joad NacerJoad NacerError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2024 00:4300000Error: No answer to stdout. Died or killed?stderr
2Oct 14, 2024 00:4400000Error: expected "53683296101693194 ", got "53683310810263502 "stderr
3Oct 14, 2024 00:4400000Error: No answer to stdout. Died or killed?stderr
4Oct 14, 2024 00:4500000Error: expected "53690980721739678 ", got "53690987266667072 "stderr
5Oct 14, 2024 01:0100000Error: expected "53692770082272041 ", got "53692770282295069 "stderr
6Oct 14, 2024 15:4900000Error: expected "53690657304928827 ", got "53690655356965767 "stderr
7Oct 14, 2024 15:4900000Error: expected "53680503336789059 ", got "53680511733993268 "stderr
8Oct 14, 2024 16:2000000Error: No answer to stdout. Died or killed?stderr
9Oct 14, 2024 16:2000000Error: expected "53692972164430545 ", got "53692973323409882 "stderr
10Dec 12, 2024 22:2800000Error: No answer to stdout. Died or killed?stderr
11Oct 14, 2024 16:204,21056,378,53931,951,0002,995,0002,535,424
12Oct 14, 2024 00:444,21558,646,10833,984,000999,0002,301,952
13Oct 14, 2024 00:444,22957,172,74832,094,0003,008,0002,535,424
14Oct 14, 2024 01:004,23061,077,79632,099,0003,009,0002,306,048
15Dec 12, 2024 22:294,23758,554,29734,160,0001,004,0002,269,184
16Oct 14, 2024 01:034,24055,391,01032,178,0003,016,0002,535,424
17Dec 12, 2024 22:294,24155,073,54135,203,00002,392,064
18Oct 14, 2024 01:004,24761,121,82435,247,00002,273,280
19Oct 14, 2024 01:004,25054,387,18634,264,0001,007,0002,297,856
20Oct 14, 2024 01:014,25059,262,92833,258,0002,015,0002,293,760
21Oct 14, 2024 01:014,25359,263,27132,272,0003,025,0002,306,048
22Oct 14, 2024 16:204,25455,864,62732,279,0003,026,0002,301,952
23Oct 14, 2024 01:004,25556,974,90333,301,0002,018,0002,306,048
24Dec 12, 2024 22:294,26254,355,73034,365,0001,010,0002,310,144
25Oct 14, 2024 00:454,26761,889,42634,403,0001,011,0002,289,664
26Oct 14, 2024 01:004,27457,216,82633,446,0002,027,0002,310,144
27Dec 12, 2024 22:304,27862,236,91334,491,0001,014,0002,531,328
28Oct 14, 2024 16:204,28359,283,78934,532,0001,015,0002,523,136
29Oct 14, 2024 01:004,29162,441,72734,601,0001,017,0002,535,424
30Oct 14, 2024 01:034,29261,213,88734,604,0001,017,0002,535,424
31Oct 14, 2024 15:194,29863,895,63733,635,0002,038,0002,273,280
32Dec 26, 2024 22:154,29963,467,15635,681,00002,535,424
33Oct 14, 2024 00:454,30066,258,98633,651,0002,039,0002,535,424
34Oct 14, 2024 01:034,31761,533,19834,832,000995,0002,301,952
35Oct 14, 2024 16:194,31962,640,95833,855,0001,991,0002,310,144
36Oct 14, 2024 01:004,31959,021,68434,851,000995,0002,301,952
37Dec 26, 2024 22:154,32061,231,58735,852,00002,535,424
38Dec 12, 2024 22:304,32160,731,70835,863,00002,301,952
39Oct 14, 2024 01:324,32161,564,52935,862,00002,306,048
40Oct 14, 2024 01:004,32266,223,86033,878,0001,992,0002,355,200
41Dec 12, 2024 22:304,32659,636,88934,912,000997,0002,531,328
42Oct 14, 2024 16:204,32757,828,41634,916,000997,0002,531,328
43Dec 12, 2024 22:294,32861,375,40534,929,000997,0002,297,856
44Oct 14, 2024 01:014,33262,674,48232,960,0002,996,0002,306,048
45Dec 12, 2024 22:294,33558,270,42832,986,0002,998,0002,531,328
46Oct 14, 2024 16:204,34355,805,92234,041,0002,002,0002,531,328
47Oct 14, 2024 16:204,34764,389,21834,074,0002,004,0002,531,328
48Oct 14, 2024 01:014,34856,398,07335,087,0001,002,0002,531,328
49Oct 14, 2024 01:004,35257,498,43134,113,0002,006,0002,301,952
50Oct 14, 2024 15:194,35759,996,46635,162,0001,004,0002,531,328
51Oct 14, 2024 00:454,35955,968,34736,176,00002,531,328
52Dec 26, 2024 22:194,36058,007,74535,180,0001,005,0002,293,760
53Oct 14, 2024 00:444,36261,244,42736,202,00002,297,856
54Oct 14, 2024 01:004,36667,169,08034,226,0002,013,0002,306,048
55Oct 14, 2024 16:204,36756,393,43335,237,0001,006,0002,297,856
56Dec 12, 2024 22:304,37157,537,11034,266,0002,015,0002,301,952
57Oct 14, 2024 16:204,37356,440,45535,290,0001,008,0002,531,328
58Oct 14, 2024 01:324,38064,252,87735,344,0001,009,0002,293,760
59Oct 14, 2024 01:034,38954,341,74435,415,0001,011,0002,297,856
60Oct 14, 2024 01:324,39062,800,60334,417,0002,024,0002,273,280
61Oct 14, 2024 16:204,39157,177,34035,433,0001,012,0002,293,760
62Oct 14, 2024 00:454,39555,971,57136,481,00002,293,760
63Dec 12, 2024 22:304,39759,934,07634,464,0002,027,0002,269,184
64Oct 14, 2024 16:194,40158,967,05236,527,00002,535,424
65Oct 14, 2024 16:204,40565,177,15634,534,0002,031,0002,273,280
66Dec 26, 2024 22:194,43764,397,54236,831,00002,310,144
67Oct 14, 2024 01:324,43762,889,66335,833,000995,0002,531,328
68Oct 14, 2024 15:194,43863,286,93434,847,0001,991,0002,301,952
69Dec 26, 2024 22:194,43859,254,73435,842,000995,0002,310,144
70Oct 14, 2024 15:194,43961,085,61235,847,000995,0002,535,424
71Dec 12, 2024 22:294,43966,338,72435,845,000995,0002,531,328
72Dec 26, 2024 22:154,46761,616,47035,076,0002,004,0002,273,280
73Oct 14, 2024 01:014,46861,608,83636,086,0001,002,0002,531,328
74Oct 14, 2024 01:324,48258,133,86335,190,0002,010,0002,531,328
75Dec 26, 2024 22:194,49067,800,06535,255,0002,014,0002,297,856
76Oct 14, 2024 01:014,49558,307,48134,282,0003,024,0002,535,424
77Oct 14, 2024 01:014,50762,590,43035,388,0002,022,0002,273,280
78Oct 14, 2024 00:454,50757,489,63636,397,0001,011,0002,297,856
79Oct 14, 2024 01:004,51858,955,84636,484,0001,013,0002,535,424
80Oct 14, 2024 16:204,52557,793,13136,541,0001,015,0002,531,328
81Oct 14, 2024 16:204,55868,451,62936,837,000995,0002,535,424
82Oct 14, 2024 01:034,56760,594,20834,912,0002,992,0002,310,144
83Oct 14, 2024 15:194,57763,059,23136,988,000999,0002,301,952
84Oct 14, 2024 16:204,58859,866,76436,079,0002,004,0002,301,952
85Dec 12, 2024 22:294,58860,727,49437,075,0001,002,0002,269,184
86Oct 14, 2024 16:204,59457,387,97037,125,0001,003,0002,310,144
87Oct 14, 2024 01:004,60065,354,46336,175,0002,009,0002,306,048
88Oct 14, 2024 01:034,60164,539,46737,183,0001,004,0002,531,328
89Oct 14, 2024 16:204,60357,801,32836,192,0002,010,0002,285,568
90Oct 14, 2024 01:324,60764,856,97835,222,0003,019,0002,293,760
91Oct 14, 2024 16:194,61163,930,97937,267,0001,007,0002,457,600
92Oct 14, 2024 01:004,61463,703,19637,288,0001,007,0002,301,952
93Oct 14, 2024 01:014,63963,389,57837,490,0001,013,0002,535,424
94Dec 12, 2024 22:294,64156,956,99538,519,00002,531,328
95Oct 14, 2024 16:204,68565,476,28136,891,0001,994,0002,535,424
96Dec 12, 2024 22:304,72365,433,10339,197,00002,531,328
97Oct 14, 2024 16:204,74563,284,52838,372,0001,009,0002,531,328
98Oct 14, 2024 00:454,76765,716,38937,538,0002,029,0002,273,280
99Dec 26, 2024 22:194,80062,294,82039,840,00002,293,760
100Oct 14, 2024 01:004,80169,745,70337,854,0001,992,0002,269,184
101Oct 14, 2024 01:014,82163,136,60238,012,0002,000,0002,314,240
102Oct 14, 2024 15:194,83465,049,61139,123,0001,003,0002,297,856
103Oct 14, 2024 16:204,84265,412,90338,176,0002,009,0002,306,048
104Dec 12, 2024 22:294,89363,654,20539,595,0001,015,0002,396,160
105Oct 14, 2024 01:004,94864,502,02740,066,0001,001,0002,306,048
106Dec 26, 2024 22:194,99865,312,46340,470,0001,011,0002,306,048