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 03:51Robert BurkeRobert BurkeScore: 8,257Success
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 03:528,16992,215,36467,800,00002,531,328
2Jul 15, 2022 03:518,17593,641,50566,856,000997,0002,424,832
3Jul 15, 2022 03:528,17594,875,46966,858,000997,0002,531,328
4Jul 15, 2022 03:528,18089,411,72365,901,0001,997,0002,424,832
5Jul 15, 2022 03:518,18395,168,26566,924,000998,0002,424,832
6Jul 15, 2022 03:518,18992,421,68365,973,0001,999,0002,531,328
7Jul 15, 2022 03:528,23790,850,46268,363,00002,428,928
8Jul 15, 2022 03:528,24487,042,44666,417,0002,012,0002,506,752
9Jul 15, 2022 03:528,24586,307,11868,433,00002,510,848
10Jul 15, 2022 03:518,24790,622,14167,440,0001,006,0002,506,752
11Jul 15, 2022 03:518,24792,806,57168,452,00002,424,832
12Jul 15, 2022 03:528,24792,981,78868,454,00002,269,184
13Jul 15, 2022 03:518,24895,824,72468,459,00002,269,184
14Jul 15, 2022 03:518,24988,684,31467,459,0001,006,0002,269,184
15Jul 15, 2022 03:518,25289,536,27568,494,00002,424,832
16Jul 15, 2022 03:528,25795,146,51667,540,000993,0002,531,328
17Jul 15, 2022 03:528,25895,486,02568,545,00002,531,328
18Jul 15, 2022 03:528,26194,784,89967,561,0001,008,0002,412,544
19Jul 15, 2022 03:518,270101,246,67468,641,00002,269,184
20Jul 15, 2022 03:528,27193,404,58867,643,0001,009,0002,433,024
21Jul 15, 2022 03:518,28696,948,47267,774,000996,0002,269,184
22Jul 15, 2022 03:518,30492,733,51867,924,000998,0002,420,736
23Jul 15, 2022 03:528,36197,194,38667,384,0002,011,0002,269,184
24Jul 15, 2022 03:518,37998,022,27369,546,00002,424,832
25Jul 15, 2022 03:528,713130,141,08372,315,94602,170,880
26Jul 15, 2022 03:518,715126,811,40272,338,36602,179,072
27Jul 15, 2022 03:528,716125,154,03272,339,60602,170,880
28Jul 15, 2022 03:528,721129,590,10572,382,70002,179,072
29Jul 15, 2022 03:518,726133,470,67372,428,64902,174,976
30Jul 15, 2022 03:518,727130,825,31972,431,87002,174,976