結果

問題 No.1380 Borderline
ユーザー Takayuki HirotaTakayuki Hirota
提出日時 2021-02-08 13:26:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 187 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 10,508 KB
実行使用メモリ 7,976 KB
最終ジャッジ日時 2023-09-19 03:27:07
合計ジャッジ時間 2,562 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,804 KB
testcase_01 AC 16 ms
7,944 KB
testcase_02 AC 16 ms
7,876 KB
testcase_03 AC 16 ms
7,832 KB
testcase_04 WA -
testcase_05 AC 16 ms
7,932 KB
testcase_06 WA -
testcase_07 AC 16 ms
7,876 KB
testcase_08 AC 16 ms
7,928 KB
testcase_09 AC 16 ms
7,872 KB
testcase_10 AC 16 ms
7,932 KB
testcase_11 AC 16 ms
7,784 KB
testcase_12 AC 16 ms
7,940 KB
testcase_13 AC 16 ms
7,772 KB
testcase_14 WA -
testcase_15 AC 16 ms
7,824 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 16 ms
7,796 KB
testcase_19 AC 16 ms
7,956 KB
testcase_20 AC 16 ms
7,900 KB
testcase_21 WA -
testcase_22 AC 16 ms
7,740 KB
testcase_23 WA -
testcase_24 AC 16 ms
7,944 KB
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 AC 16 ms
7,724 KB
testcase_35 AC 17 ms
7,904 KB
testcase_36 AC 16 ms
7,776 KB
testcase_37 AC 16 ms
7,952 KB
testcase_38 AC 16 ms
7,776 KB
testcase_39 AC 17 ms
7,832 KB
testcase_40 AC 17 ms
7,940 KB
testcase_41 AC 16 ms
7,796 KB
testcase_42 AC 16 ms
7,900 KB
testcase_43 AC 16 ms
7,904 KB
testcase_44 AC 16 ms
7,776 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

f=lambda:map(int,input().split())
n,k=f()
*a,=f()
b=list(set(sorted(a)))[::-1]
m=0
for i in b:
	s=[t for t in a if t>=i]
	if len(s)>k:
		print(m)
		break
	else:
		m=len(s)
else:
	print(n)
0