結果

問題 No.1380 Borderline
ユーザー 👑 KazunKazun
提出日時 2021-02-07 20:42:10
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 186 bytes
コンパイル時間 348 ms
コンパイル使用メモリ 86,864 KB
実行使用メモリ 76,236 KB
最終ジャッジ日時 2023-09-19 04:29:41
合計ジャッジ時間 5,976 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
75,884 KB
testcase_01 AC 79 ms
75,716 KB
testcase_02 AC 84 ms
75,744 KB
testcase_03 AC 81 ms
75,836 KB
testcase_04 AC 83 ms
75,976 KB
testcase_05 AC 75 ms
71,420 KB
testcase_06 AC 79 ms
71,300 KB
testcase_07 AC 82 ms
76,020 KB
testcase_08 AC 85 ms
75,972 KB
testcase_09 AC 85 ms
75,888 KB
testcase_10 AC 82 ms
75,876 KB
testcase_11 AC 82 ms
75,956 KB
testcase_12 AC 79 ms
71,228 KB
testcase_13 AC 83 ms
75,732 KB
testcase_14 AC 85 ms
75,960 KB
testcase_15 AC 85 ms
76,092 KB
testcase_16 AC 87 ms
75,912 KB
testcase_17 AC 85 ms
76,036 KB
testcase_18 AC 86 ms
76,024 KB
testcase_19 AC 85 ms
75,596 KB
testcase_20 AC 84 ms
76,168 KB
testcase_21 AC 83 ms
76,076 KB
testcase_22 AC 86 ms
76,152 KB
testcase_23 AC 86 ms
75,868 KB
testcase_24 AC 87 ms
75,956 KB
testcase_25 AC 86 ms
76,040 KB
testcase_26 AC 83 ms
76,040 KB
testcase_27 AC 89 ms
76,012 KB
testcase_28 AC 86 ms
76,028 KB
testcase_29 AC 85 ms
76,036 KB
testcase_30 AC 86 ms
76,236 KB
testcase_31 AC 87 ms
75,904 KB
testcase_32 AC 83 ms
75,960 KB
testcase_33 AC 86 ms
75,744 KB
testcase_34 AC 85 ms
75,992 KB
testcase_35 AC 82 ms
76,164 KB
testcase_36 AC 83 ms
76,048 KB
testcase_37 AC 84 ms
76,164 KB
testcase_38 AC 85 ms
75,964 KB
testcase_39 AC 85 ms
75,976 KB
testcase_40 AC 86 ms
76,032 KB
testcase_41 AC 85 ms
76,164 KB
testcase_42 AC 89 ms
75,976 KB
testcase_43 AC 83 ms
76,076 KB
testcase_44 AC 81 ms
75,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

X=0
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