結果
問題 | No.2777 Wild Flush |
ユーザー |
|
提出日時 | 2024-06-09 20:43:29 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 180 bytes |
コンパイル時間 | 633 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 98,432 KB |
最終ジャッジ日時 | 2024-12-30 21:57:02 |
合計ジャッジ時間 | 4,581 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 RE * 1 |
other | AC * 22 RE * 2 |
ソースコード
from collections import Counter n, k = map(int, input().split()) A = list(map(int, input().split())) c = Counter(A) any = c[0] del c[0] print('YNeos'[max(c.values()) + any < k::2])