結果

問題 No.1380 Borderline
ユーザー 👑 H20H20
提出日時 2021-02-08 16:04:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 81 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 818 ms
コンパイル使用メモリ 87,120 KB
実行使用メモリ 76,632 KB
最終ジャッジ日時 2023-09-19 06:13:21
合計ジャッジ時間 6,291 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,248 KB
testcase_01 AC 71 ms
71,404 KB
testcase_02 AC 71 ms
71,112 KB
testcase_03 AC 71 ms
71,404 KB
testcase_04 AC 74 ms
71,496 KB
testcase_05 AC 73 ms
71,320 KB
testcase_06 AC 71 ms
71,360 KB
testcase_07 AC 71 ms
71,444 KB
testcase_08 AC 79 ms
76,544 KB
testcase_09 AC 72 ms
71,132 KB
testcase_10 AC 72 ms
71,500 KB
testcase_11 AC 72 ms
71,592 KB
testcase_12 AC 72 ms
71,412 KB
testcase_13 AC 78 ms
75,592 KB
testcase_14 AC 73 ms
75,836 KB
testcase_15 AC 78 ms
76,052 KB
testcase_16 AC 77 ms
76,084 KB
testcase_17 AC 76 ms
76,396 KB
testcase_18 AC 74 ms
75,724 KB
testcase_19 AC 77 ms
76,356 KB
testcase_20 AC 77 ms
76,252 KB
testcase_21 AC 74 ms
75,860 KB
testcase_22 AC 75 ms
75,856 KB
testcase_23 AC 74 ms
75,776 KB
testcase_24 AC 74 ms
75,764 KB
testcase_25 AC 78 ms
76,468 KB
testcase_26 AC 77 ms
75,964 KB
testcase_27 AC 81 ms
76,396 KB
testcase_28 AC 79 ms
76,468 KB
testcase_29 AC 76 ms
75,700 KB
testcase_30 AC 78 ms
76,108 KB
testcase_31 AC 75 ms
75,696 KB
testcase_32 AC 76 ms
76,400 KB
testcase_33 AC 77 ms
75,812 KB
testcase_34 AC 76 ms
76,216 KB
testcase_35 AC 75 ms
76,072 KB
testcase_36 AC 75 ms
75,792 KB
testcase_37 AC 75 ms
75,932 KB
testcase_38 AC 77 ms
76,260 KB
testcase_39 AC 76 ms
75,728 KB
testcase_40 AC 76 ms
75,764 KB
testcase_41 AC 78 ms
76,056 KB
testcase_42 AC 79 ms
76,052 KB
testcase_43 AC 78 ms
76,632 KB
testcase_44 AC 72 ms
71,120 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K = map(int,input().split())
A = list(map(int,input().split()))
for i in range(402):
  cnt = 0
  for j in range(N):
    if A[j]>=i:
      cnt+=1
  if K>=cnt:
    print(cnt)
    exit()
0