結果
| 問題 |
No.3197 Frequency Counter
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-13 08:58:35 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 1,385 ms / 2,000 ms |
| コード長 | 245 bytes |
| コンパイル時間 | 479 ms |
| コンパイル使用メモリ | 11,904 KB |
| 実行使用メモリ | 38,320 KB |
| 最終ジャッジ日時 | 2025-07-13 08:58:50 |
| 合計ジャッジ時間 | 14,300 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 21 |
ソースコード
from collections import Counter
n = int(input())
a = list(map(int, input().split()))
c = Counter(a)
q = int(input())
for i in range(q):
x, k = map(int, input().split())
if c[x] >= k:
print("Yes")
else:
print("No")