結果

問題 No.2777 Wild Flush
ユーザー pluto77
提出日時 2024-06-14 10:39:55
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 171 bytes
コンパイル時間 273 ms
コンパイル使用メモリ 82,248 KB
実行使用メモリ 89,960 KB
最終ジャッジ日時 2024-06-14 10:40:04
合計ジャッジ時間 3,284 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4 RE * 1
other AC * 5 RE * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k=map(int,input().split())
a=list(map(int,input().split()))
l=[0]*(n+1)
for x in a:
 l[x]+=1
for i in range(1,n+1):
 if l[0]+l[i]>=k:
  print('Yes')
  exit()
prit('No')
0