結果
| 問題 |
No.3197 Frequency Counter
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-07-24 16:26:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| コンパイル時間 | 531 ms |
| コンパイル使用メモリ | 82,440 KB |
| 実行使用メモリ | 156,292 KB |
| 最終ジャッジ日時 | 2025-07-24 16:26:25 |
| 合計ジャッジ時間 | 6,900 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 21 |
ソースコード
from collections import Counter
n=int(input())
a=list(map(int,input().split()))
cnt=Counter(a)
print(cnt)
q=int(input())
res=[]
for i in range(q):
x,k=map(int,input().split())
if cnt[x]>=k:
res.append('Yes')
else:
res.append('No')
print('\n'.join(res))