結果

問題 No.3197 Frequency Counter
ユーザー Kude
提出日時 2025-07-11 21:24:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 673 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 198 ms
コンパイル使用メモリ 82,172 KB
実行使用メモリ 121,032 KB
最終ジャッジ日時 2025-07-11 21:24:41
合計ジャッジ時間 7,240 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter
n = int(input())
c = Counter(map(int, input().split()))
for _ in range(int(input())):
    x, k = map(int, input().split())
    print('Yes' if c[x] >= k else 'No')
0