結果
問題 |
No.2777 Wild Flush
|
ユーザー |
|
提出日時 | 2024-06-09 20:45:59 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 217 bytes |
コンパイル時間 | 2,427 ms |
コンパイル使用メモリ | 82,168 KB |
実行使用メモリ | 98,804 KB |
最終ジャッジ日時 | 2024-12-30 22:44:45 |
合計ジャッジ時間 | 4,114 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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) zero = c[0] del c[0] res = zero + max(c.values()) if res >= k: print('Yes') else: print('No')