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 24, 2021 17:11Dmitry DolgopolovDmitry DolgopolovScore: 27,634Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 17:1127,601252,320,097227,092,0002,000,0002,445,312
2May 24, 2021 17:1127,602248,227,579227,093,0002,000,0002,445,312
3May 24, 2021 17:1027,602250,635,466227,095,0002,000,0002,441,216
4May 24, 2021 17:1027,615257,166,431227,203,0002,001,0002,281,472
5May 24, 2021 17:1127,616252,871,639228,214,0001,000,0002,433,024
6May 24, 2021 17:1127,616253,590,670228,216,0001,000,0002,437,120
7May 24, 2021 17:1127,616254,038,962228,216,0001,000,0002,269,184
8May 24, 2021 17:1027,617251,553,355228,219,0001,000,0002,269,184
9May 24, 2021 17:1027,618250,388,859228,231,0001,001,0002,449,408
10May 24, 2021 17:1127,622252,922,061228,258,0001,001,0002,441,216
11May 24, 2021 17:1027,624250,375,700228,278,0001,001,0002,441,216
12May 24, 2021 17:1127,624250,183,392227,277,0002,002,0002,445,312
13May 24, 2021 17:1127,626251,113,512228,292,0001,001,0002,531,328
14May 24, 2021 17:1027,626258,635,896228,296,0001,001,0002,437,120
15May 24, 2021 17:1127,626255,576,534228,292,0001,001,0002,441,216
16May 24, 2021 17:1127,627250,784,148228,306,0001,001,0002,441,216
17May 24, 2021 17:1127,629251,752,514228,316,0001,001,0002,269,184
18May 24, 2021 17:1127,629253,475,593228,322,0001,001,0002,441,216
19May 24, 2021 17:1127,630252,485,328228,327,0001,001,0002,445,312
20May 24, 2021 17:1127,631247,942,936228,337,0001,001,0002,449,408
21May 24, 2021 17:1127,631253,658,361228,333,0001,001,0002,531,328
22May 24, 2021 17:1027,632251,240,032228,343,0001,001,0002,269,184
23May 24, 2021 17:1127,634252,824,549228,361,0001,001,0002,269,184
24May 24, 2021 17:1127,634250,753,082228,362,0001,001,0002,269,184
25May 24, 2021 17:1027,634250,630,035228,361,0001,001,0002,445,312
26May 24, 2021 17:1127,635250,077,124228,366,0001,001,0002,441,216
27May 24, 2021 17:1027,640251,025,689228,412,0001,001,0002,531,328
28May 24, 2021 17:1127,640254,060,502228,410,0001,001,0002,269,184
29May 24, 2021 17:1127,642259,424,071227,433,0001,995,0002,441,216
30May 24, 2021 17:1127,643250,705,413228,434,0001,001,0002,437,120
31May 24, 2021 17:1127,644253,123,149228,445,0001,001,0002,531,328
32May 24, 2021 17:1127,644257,084,577228,447,0001,001,0002,445,312
33May 24, 2021 17:1127,645258,564,717228,450,0001,001,0002,527,232
34May 24, 2021 17:1127,651252,157,372228,498,0001,002,0002,519,040
35May 24, 2021 17:1127,652255,252,922228,513,000997,0002,441,216
36May 24, 2021 17:1127,676261,243,281227,715,0001,997,0002,269,184
37May 24, 2021 17:1127,953267,707,396232,006,06002,191,360
38May 24, 2021 17:1027,953268,044,333232,007,51102,179,072
39May 24, 2021 17:1027,953267,530,577232,008,58102,183,168
40May 24, 2021 17:1127,959274,909,183232,060,93502,187,264
41May 24, 2021 17:1127,963271,559,507232,093,97802,183,168
42May 24, 2021 17:1127,964275,532,167232,102,85302,191,360
43May 24, 2021 17:1127,965275,664,202232,106,69902,195,456
44May 24, 2021 17:1027,967300,844,648232,125,88302,187,264
45May 24, 2021 17:1127,969296,684,088232,146,78502,195,456
46May 24, 2021 17:1127,973275,471,396232,179,46002,252,800
47May 24, 2021 17:1127,982294,954,246232,249,44402,187,264
48May 24, 2021 17:1127,994299,929,446232,347,25102,183,168