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 19, 2021 19:55Yuriy 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
1May 19, 2021 19:5900000Died or killed
2May 19, 2021 19:5900000Died or killed
3May 19, 2021 19:5617,4912,477,170,350144,173,0001,001,0002,392,064
4May 19, 2021 19:5517,4962,466,141,456144,218,0001,001,0002,260,992
5May 19, 2021 19:5517,4962,642,283,082145,218,00002,392,064
6May 19, 2021 19:5517,4982,222,677,808145,230,00002,519,040
7May 19, 2021 19:5617,498947,464,982145,232,00002,256,896
8May 19, 2021 19:5617,5003,073,525,746144,251,0001,001,0002,387,968
9May 19, 2021 19:5517,500540,798,653145,254,00002,260,992
10May 19, 2021 19:5617,5002,204,389,693144,251,0001,001,0002,260,992
11May 19, 2021 19:5617,500196,875,450143,244,0002,003,0002,523,136
12May 19, 2021 19:5517,5012,902,142,297144,256,0001,001,0002,523,136
13May 19, 2021 19:5517,5012,455,203,238144,258,0001,001,0002,527,232
14May 19, 2021 19:5517,501277,788,216143,269,0001,989,0002,527,232
15May 19, 2021 20:0017,5023,128,671,581144,269,0001,001,0002,519,040
16May 19, 2021 19:5617,5022,311,579,672142,280,0002,984,0002,519,040
17May 19, 2021 19:5617,5031,610,520,789145,278,00002,392,064
18May 19, 2021 19:5517,5042,723,946,898145,282,00002,523,136
19May 19, 2021 19:5517,507453,850,416143,318,0001,990,0002,392,064
20May 19, 2021 20:0017,510969,571,954143,345,0001,990,0002,519,040
21May 19, 2021 20:0017,510215,624,135143,346,0001,990,0002,387,968
22May 19, 2021 20:0017,511624,522,401143,352,0001,991,0002,260,992
23May 19, 2021 20:0017,5131,061,089,415141,372,0003,982,0002,260,992
24May 19, 2021 19:5517,5132,203,542,405143,353,0002,004,0002,523,136
25May 19, 2021 19:5517,5152,109,171,363140,396,0004,978,0002,260,992
26May 19, 2021 19:5517,5152,020,236,395142,367,0003,007,0002,519,040
27May 19, 2021 19:5517,5162,379,568,718145,381,00002,260,992
28May 19, 2021 19:5617,517792,302,142144,390,0001,002,0002,260,992
29May 19, 2021 20:0017,5181,866,923,891144,401,000995,0002,527,232
30May 19, 2021 19:5517,518893,545,795143,407,0001,991,0002,265,088
31May 19, 2021 19:5617,519755,389,591142,420,0002,987,0002,523,136
32May 19, 2021 19:5517,5202,067,823,583143,421,0001,991,0002,260,992
33May 19, 2021 20:0017,5221,616,741,091145,430,00002,260,992
34May 19, 2021 19:5517,525419,916,492143,450,0002,006,0002,260,992
35May 19, 2021 20:0017,526782,815,596143,457,0002,006,0002,260,992
36May 19, 2021 19:5517,5322,293,482,048142,527,0002,990,0002,260,992
37May 19, 2021 20:0017,5362,104,471,728143,557,0001,993,0002,260,992
38May 19, 2021 19:5517,6573,066,356,116145,561,000996,0002,260,992
39May 19, 2021 19:5517,961939,259,882149,080,28102,273,280
40May 19, 2021 20:0017,9621,926,243,312149,088,47302,273,280
41May 19, 2021 19:5517,9762,007,718,228149,201,11102,269,184
42May 19, 2021 19:5617,9771,371,323,054149,211,48602,273,280
43May 19, 2021 19:5517,9811,235,158,067149,244,29002,273,280
44May 19, 2021 19:5517,9821,183,463,873149,252,19002,273,280
45May 19, 2021 20:0017,9862,790,056,056149,284,00102,265,088
46May 19, 2021 20:0017,9871,802,157,980149,291,77102,334,720
47May 19, 2021 19:5617,9882,615,129,752149,301,18202,273,280
48May 19, 2021 19:5517,990852,034,650149,316,08302,281,472
49May 19, 2021 19:5517,9991,865,493,315149,394,88202,273,280
50May 19, 2021 19:5618,002731,105,890149,413,82102,277,376