a=input()
a=int(a)
b=input()
b=int(b)
c=input()
c=c.split()
c=[int(i)for i in c]
c.sort()
c=c[::-1]
cnt=0
for i in range(b):
cnt+=c[i]
print(cnt)
#1234567890qwertyuiopasdfghjkl;'zxcvbnm,./
#(凑字数)
...
English Article | Word Count | Duration | Accuracy | Speed | Backspace | Error | Slogan |
---|---|---|---|---|---|---|---|
《python蓝桥等考十八级真题(4)!》 | 218字 | 2.9分钟 | 98% | 68 CPM | 49 次 | 3 | 不及格,加强练习! |
The wrong word this time: 请,谅,解 | |||||||
Suggestion:
可能对按键不够熟悉,或者对输入法不够熟练所导致,不要急慢慢来,先打对把准确率提高,然后逐渐的加快速度,最后才能打准打快。
|
|||||||
Inspirational quotes: 要做到内心的强大,一个前提是要看轻身外之物的得与失。 ——于丹 | |||||||
What do you think of this article? Give it a rating and let it serve as a guiding light for others |