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 20:07Yuriy LyfenkoYuriy LyfenkoScore: 17,513Success
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 20:0917,4891,867,472,267144,159,0001,001,0002,265,088
2May 19, 2021 20:0917,4972,922,153,955144,228,0001,001,0002,260,992
3May 19, 2021 20:0917,4972,985,871,965144,224,0001,001,0002,523,136
4May 19, 2021 20:0917,4982,428,694,076144,241,000994,0002,519,040
5May 19, 2021 20:0717,4991,122,318,038143,239,0002,003,0002,256,896
6May 19, 2021 20:0717,4992,969,675,535145,244,00002,523,136
7May 19, 2021 20:0717,4992,137,481,942144,249,000994,0002,260,992
8May 19, 2021 20:0917,5002,118,372,710144,247,0001,001,0002,256,896
9May 19, 2021 20:0717,5022,894,157,881144,264,0001,001,0002,256,896
10May 19, 2021 20:0717,5042,944,287,421143,282,0002,003,0002,392,064
11May 19, 2021 20:0717,5063,139,498,936144,305,000995,0002,523,136
12May 19, 2021 20:0917,5081,645,695,823143,327,0001,990,0002,506,752
13May 19, 2021 20:0917,5131,785,971,205143,355,0002,004,0002,260,992
14May 19, 2021 20:0717,5202,416,889,524145,420,00002,523,136
15May 19, 2021 20:0917,523295,509,637143,449,0001,992,0002,265,088
16May 19, 2021 20:0917,5292,726,033,939143,495,0001,992,0002,392,064
17May 19, 2021 20:0717,546609,032,094142,640,0002,992,0002,260,992
18May 19, 2021 20:0717,5641,901,716,426143,783,0001,996,0002,256,896
19May 19, 2021 20:0717,970850,602,667149,149,91502,273,280
20May 19, 2021 20:0717,9771,307,490,158149,205,28302,273,280
21May 19, 2021 20:0917,9842,773,750,298149,269,85102,269,184
22May 19, 2021 20:0917,985863,226,752149,273,48802,269,184
23May 19, 2021 20:0917,9861,959,977,667149,280,21602,273,280
24May 19, 2021 20:0717,9882,870,334,979149,301,20602,273,280