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 18:24Yuriy LyfenkoYuriy LyfenkoScore: 17,518Success
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 18:2417,4851,040,344,362144,126,0001,000,0002,256,896
2May 19, 2021 18:2417,489707,163,140144,160,0001,001,0002,265,088
3May 19, 2021 18:2417,4972,311,008,058143,234,0001,989,0002,396,160
4May 19, 2021 18:2417,499457,396,904144,243,0001,001,0002,392,064
5May 19, 2021 18:2417,499495,219,729145,239,00002,265,088
6May 19, 2021 18:2417,5002,705,346,439143,258,0001,989,0002,527,232
7May 19, 2021 18:2417,500892,882,887143,265,0001,989,0002,260,992
8May 19, 2021 18:2417,5002,051,095,451143,261,0001,989,0002,256,896
9May 19, 2021 18:2417,5013,051,467,458142,275,0002,984,0002,260,992
10May 19, 2021 18:2417,5012,569,961,954142,272,0002,984,0002,523,136
11May 19, 2021 18:2417,501207,217,960144,262,000994,0002,260,992
12May 19, 2021 18:2417,5022,077,461,367144,268,0001,001,0002,265,088
13May 19, 2021 18:2417,5022,848,502,007144,263,0001,001,0002,527,232
14May 19, 2021 18:2417,505444,320,283144,293,0001,002,0002,260,992
15May 19, 2021 18:2417,507623,662,024144,303,0001,002,0002,260,992
16May 19, 2021 18:2417,5101,017,441,518144,332,0001,002,0002,260,992
17May 19, 2021 18:2417,5112,270,317,638144,346,000995,0002,519,040
18May 19, 2021 18:2417,5131,378,115,907144,353,0001,002,0002,523,136
19May 19, 2021 18:2417,5151,933,285,478143,384,0001,991,0002,260,992
20May 19, 2021 18:2417,5162,063,791,167145,380,00002,519,040
21May 19, 2021 18:2417,5171,429,174,362144,392,000995,0002,387,968
22May 19, 2021 18:2417,517236,160,827145,392,00002,265,088
23May 19, 2021 18:2417,5172,092,686,907142,407,0002,987,0002,256,896
24May 19, 2021 18:2417,5181,833,896,444143,406,0001,991,0002,523,136
25May 19, 2021 18:2417,5182,738,315,355142,416,0002,987,0002,523,136
26May 19, 2021 18:2417,5192,121,416,086143,413,0001,991,0002,260,992
27May 19, 2021 18:2417,521564,432,157142,434,0002,988,0002,392,064
28May 19, 2021 18:2417,521783,473,749143,432,0001,992,0002,265,088
29May 19, 2021 18:2417,521889,337,846144,425,0001,002,0002,400,256
30May 19, 2021 18:2417,5222,737,729,009143,428,0002,005,0002,523,136
31May 19, 2021 18:2417,5221,426,682,179144,429,0001,002,0002,519,040
32May 19, 2021 18:2417,5232,667,052,647144,449,000996,0002,260,992
33May 19, 2021 18:2417,5242,127,733,082145,446,00002,396,160
34May 19, 2021 18:2417,5313,130,777,002145,504,00002,260,992
35May 19, 2021 18:2417,7441,194,770,616145,283,0001,990,0002,260,992
36May 19, 2021 18:2417,7842,909,432,955147,611,00002,523,136
37May 19, 2021 18:2417,9732,762,341,663149,172,65302,265,088
38May 19, 2021 18:2417,9761,727,925,701149,196,78902,273,280
39May 19, 2021 18:2417,9781,734,910,741149,219,35502,281,472
40May 19, 2021 18:2417,9791,078,435,240149,229,29102,277,376
41May 19, 2021 18:2417,9802,501,910,181149,234,81402,330,624
42May 19, 2021 18:2417,981978,693,718149,241,51702,277,376
43May 19, 2021 18:2417,982591,270,915149,254,19202,277,376
44May 19, 2021 18:2417,9871,390,938,548149,294,86002,273,280
45May 19, 2021 18:2417,9961,817,908,284149,368,45702,269,184
46May 19, 2021 18:2417,9993,121,899,425149,392,03202,265,088
47May 19, 2021 18:2418,3061,961,232,510151,941,48402,269,184
48May 19, 2021 18:2418,449799,790,079153,126,77902,281,472