結果

問題 No.1380 Borderline
ユーザー 👑 KazunKazun
提出日時 2021-02-07 20:40:32
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 186 bytes
コンパイル時間 939 ms
コンパイル使用メモリ 87,148 KB
実行使用メモリ 76,208 KB
最終ジャッジ日時 2023-09-17 19:23:56
合計ジャッジ時間 5,828 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 78 ms
75,904 KB
testcase_02 AC 77 ms
75,960 KB
testcase_03 AC 77 ms
75,852 KB
testcase_04 AC 79 ms
75,912 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 78 ms
75,896 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 79 ms
76,144 KB
testcase_15 AC 80 ms
76,088 KB
testcase_16 AC 81 ms
75,924 KB
testcase_17 AC 81 ms
76,056 KB
testcase_18 AC 81 ms
76,180 KB
testcase_19 AC 80 ms
75,972 KB
testcase_20 AC 81 ms
76,044 KB
testcase_21 AC 81 ms
76,124 KB
testcase_22 AC 80 ms
75,976 KB
testcase_23 AC 80 ms
75,756 KB
testcase_24 AC 79 ms
76,036 KB
testcase_25 AC 79 ms
76,048 KB
testcase_26 AC 80 ms
75,916 KB
testcase_27 AC 81 ms
76,028 KB
testcase_28 AC 83 ms
76,108 KB
testcase_29 AC 81 ms
75,952 KB
testcase_30 AC 80 ms
75,900 KB
testcase_31 AC 82 ms
75,976 KB
testcase_32 AC 81 ms
75,996 KB
testcase_33 AC 83 ms
75,984 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 WA -
testcase_39 WA -
testcase_40 AC 83 ms
76,040 KB
testcase_41 WA -
testcase_42 WA -
testcase_43 AC 84 ms
76,052 KB
testcase_44 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,input().split())
P=list(map(int,input().split()))

X=-1
for B in range(401):
    A=0
    for p in P:
        if p>=B:
            A+=1
    if A<K:
        X=max(A,X)
print(X)
0