結果
| 問題 | No.3197 Frequency Counter |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-11 21:29:35 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 723 ms / 2,000 ms |
| + 954µs | |
| コード長 | 236 bytes |
| 記録 | |
| コンパイル時間 | 89 ms |
| コンパイル使用メモリ | 64,536 KB |
| 実行使用メモリ | 96,272 KB |
| 最終ジャッジ日時 | 2026-11-24 16:20:15 |
| 合計ジャッジ時間 | 9,785 ms |
|
ジャッジサーバーID (参考情報) |
judge6_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
from collections import defaultdict
n=int(input())
L=list(map(int,input().split()))
d=defaultdict(int)
for e in L:
d[e]+=1
q=int(input())
for _ in range(q):
x,k=map(int,input().split())
if k<=d[x]:
print("Yes")
else:
print("No")