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 4, 2021 22:29Yuriy LyfenkoYuriy LyfenkoScore: 23,624Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2021 22:2923,600222,746,815192,884,0002,998,0002,387,968
2May 4, 2021 22:2923,601227,072,490192,889,0002,998,0002,260,992
3May 4, 2021 22:3423,602219,795,544193,898,0001,998,0002,400,256
4May 4, 2021 22:2923,602222,168,637192,898,0002,998,0002,260,992
5May 4, 2021 22:2923,604224,498,575194,913,000999,0002,260,992
6May 4, 2021 22:2923,604220,225,678194,916,000999,0002,387,968
7May 4, 2021 22:2923,606224,458,025193,930,0001,999,0002,260,992
8May 4, 2021 22:2923,607220,916,122193,939,0001,999,0002,260,992
9May 4, 2021 22:2923,608220,814,247191,947,0003,998,0002,392,064
10May 4, 2021 22:3423,608221,533,893194,947,000999,0002,260,992
11May 4, 2021 22:2923,609227,675,194193,957,0001,999,0002,396,160
12May 4, 2021 22:2923,610227,618,370193,964,0001,999,0002,396,160
13May 4, 2021 22:2923,611221,301,561194,970,000999,0002,260,992
14May 4, 2021 22:2923,611221,989,832191,974,0003,999,0002,260,992
15May 4, 2021 22:2923,611224,177,493193,976,0001,999,0002,260,992
16May 4, 2021 22:3423,613221,261,584193,992,0001,999,0002,392,064
17May 4, 2021 22:2923,613225,183,259193,989,0001,999,0002,392,064
18May 4, 2021 22:2923,614226,285,626192,996,0002,999,0002,260,992
19May 4, 2021 22:2923,616220,370,896193,013,0003,000,0002,400,256
20May 4, 2021 22:2923,616220,742,372194,013,0002,000,0002,260,992
21May 4, 2021 22:2923,622222,542,013194,066,0002,000,0002,383,872
22May 4, 2021 22:2923,622224,370,810194,065,0002,000,0002,396,160
23May 4, 2021 22:2923,624231,019,901194,079,0002,000,0002,265,088
24May 4, 2021 22:2923,625226,754,791194,090,0002,000,0002,260,992
25May 4, 2021 22:2923,625231,907,365194,085,0002,000,0002,519,040
26May 4, 2021 22:2923,626223,266,324195,094,0001,000,0002,260,992
27May 4, 2021 22:2923,627224,683,813195,103,0001,000,0002,260,992
28May 4, 2021 22:2923,627221,891,848194,103,0002,001,0002,396,160
29May 4, 2021 22:3423,631226,164,487193,134,0003,002,0002,383,872
30May 4, 2021 22:3423,631228,329,240195,134,0001,000,0002,260,992
31May 4, 2021 22:2923,631222,179,882195,139,0001,000,0002,260,992
32May 4, 2021 22:2923,631220,558,337194,137,0002,001,0002,260,992
33May 4, 2021 22:3423,637223,612,187194,183,0002,001,0002,383,872
34May 4, 2021 22:2923,638222,657,268193,192,0003,002,0002,387,968
35May 4, 2021 22:2923,640230,797,228195,208,0001,001,0002,383,872
36May 4, 2021 22:2923,641218,431,729195,216,0001,001,0002,260,992
37May 4, 2021 22:2923,642226,084,262196,228,00002,396,160
38May 4, 2021 22:3423,642224,870,520193,223,0003,003,0002,260,992
39May 4, 2021 22:2923,643217,483,192195,234,0001,001,0002,392,064
40May 4, 2021 22:2923,647221,867,170196,266,00002,506,752
41May 4, 2021 22:2923,647224,766,901195,268,0001,001,0002,260,992
42May 4, 2021 22:2923,648222,203,124195,277,0001,001,0002,387,968
43May 4, 2021 22:2923,649232,001,880193,295,0002,989,0002,260,992
44May 4, 2021 22:3423,650219,881,993195,291,0001,001,0002,387,968
45May 4, 2021 22:3423,664219,041,969194,409,0002,004,0002,260,992