結果

問題 No.1380 Borderline
ユーザー suiso11suiso11
提出日時 2021-02-07 22:10:55
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 152 bytes
コンパイル時間 713 ms
コンパイル使用メモリ 86,624 KB
実行使用メモリ 79,060 KB
最終ジャッジ日時 2023-09-17 21:57:20
合計ジャッジ時間 6,877 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 AC 74 ms
71,312 KB
testcase_02 AC 74 ms
71,244 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 AC 74 ms
71,184 KB
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 RE -
testcase_35 WA -
testcase_36 RE -
testcase_37 RE -
testcase_38 RE -
testcase_39 RE -
testcase_40 RE -
testcase_41 RE -
testcase_42 WA -
testcase_43 WA -
testcase_44 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
p = list(map(int,input().split()))
p.sort
if p.count(p[-k]) >1:
  print(sum([i > p[-k] for i in p]))
else:
  print(p-[k])
0