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 listJul 15, 2022 00:13Robert BurkeRobert BurkeScore: 8,269Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 00:138,24889,419,09167,454,0001,006,0002,510,848
2Jul 15, 2022 00:218,25093,687,48768,476,00002,527,232
3Jul 15, 2022 00:148,25091,777,52968,476,00002,531,328
4Jul 15, 2022 00:148,25288,256,17568,491,00002,428,928
5Jul 15, 2022 00:148,25592,136,69268,513,00002,269,184
6Jul 15, 2022 00:148,25692,357,97968,522,00002,424,832
7Jul 15, 2022 00:138,25797,599,22767,526,0001,007,0002,531,328
8Jul 15, 2022 00:218,25790,686,30668,535,00002,531,328
9Jul 15, 2022 00:138,25796,398,12268,537,00002,531,328
10Jul 15, 2022 00:218,25990,637,55368,551,00002,531,328
11Jul 15, 2022 00:138,26099,513,00867,549,0001,008,0002,420,736
12Jul 15, 2022 00:138,26293,197,87468,574,00002,424,832
13Jul 15, 2022 00:148,26289,493,59367,569,0001,008,0002,424,832
14Jul 15, 2022 00:218,26391,375,56767,572,0001,008,0002,424,832
15Jul 15, 2022 00:138,26493,390,97068,595,00002,428,928
16Jul 15, 2022 00:148,26596,003,95368,601,00002,531,328
17Jul 15, 2022 00:218,26792,397,87668,615,00002,269,184
18Jul 15, 2022 00:148,26793,780,48467,606,0001,009,0002,428,928
19Jul 15, 2022 00:148,26898,746,72268,626,00002,527,232
20Jul 15, 2022 00:148,26992,666,92068,631,00002,531,328
21Jul 15, 2022 00:138,26993,547,59568,636,00002,527,232
22Jul 15, 2022 00:138,26996,097,60268,634,00002,269,184
23Jul 15, 2022 00:138,26993,216,56767,627,0001,009,0002,531,328
24Jul 15, 2022 00:148,27190,056,83468,651,00002,506,752
25Jul 15, 2022 00:148,27299,019,00867,645,0001,009,0002,531,328
26Jul 15, 2022 00:218,27294,565,56768,655,00002,531,328
27Jul 15, 2022 00:218,27293,462,09467,648,0001,009,0002,416,640
28Jul 15, 2022 00:138,28893,772,18967,795,000996,0002,269,184
29Jul 15, 2022 00:148,28996,993,23466,808,0001,994,0002,527,232
30Jul 15, 2022 00:138,29093,640,60268,804,00002,506,752
31Jul 15, 2022 00:218,29791,343,61367,865,000998,0002,269,184
32Jul 15, 2022 00:218,29893,851,95467,876,000998,0002,420,736
33Jul 15, 2022 00:218,30191,935,99466,899,0001,996,0002,531,328
34Jul 15, 2022 00:218,30890,516,91567,960,000999,0002,424,832
35Jul 15, 2022 00:218,30889,977,18967,954,000999,0002,531,328
36Jul 15, 2022 00:138,37093,261,43469,470,00002,428,928
37Jul 15, 2022 00:218,801129,844,92773,051,72602,174,976
38Jul 15, 2022 00:138,803185,315,39973,067,60502,170,880
39Jul 15, 2022 00:148,808135,582,24173,104,24202,297,856
40Jul 15, 2022 00:138,811142,512,83173,128,64102,174,976
41Jul 15, 2022 00:148,812129,160,14373,138,17402,297,856
42Jul 15, 2022 00:218,814129,021,38673,160,19502,170,880
43Jul 15, 2022 00:138,818123,527,72673,190,03902,289,664
44Jul 15, 2022 00:218,819132,123,22273,195,10902,289,664
45Jul 15, 2022 00:148,824136,210,05273,238,09202,170,880