結果
| 問題 | No.2777 Wild Flush |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-07 21:48:51 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 65 ms / 2,000 ms |
| + 590µs | |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 84 ms |
| コンパイル使用メモリ | 64,376 KB |
| 実行使用メモリ | 82,060 KB |
| 最終ジャッジ日時 | 2026-11-21 16:30:38 |
| 合計ジャッジ時間 | 4,063 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 25 |
ソースコード
from collections import Counter
n, k = map(int, input().split())
a = list(map(int, input().split()))
c = Counter(a)
print('Yes' if (max([c[i] for i in range(1, n+1)]) + c[0]) >= k else 'No')