結果
| 問題 | No.3280 Black-Tailed Gull vs Monster |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-26 22:58:06 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 174 ms / 2,000 ms |
| + 673µs | |
| コード長 | 257 bytes |
| 記録 | |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 64,232 KB |
| 実行使用メモリ | 90,384 KB |
| 最終ジャッジ日時 | 2026-10-17 22:39:15 |
| 合計ジャッジ時間 | 6,051 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge6_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 39 |
ソースコード
from collections import*
n,x,q=map(int,input().split())
ans=0
for _ in range(q):
m=int(input())
f=[*map(int,input().split())]
d=Counter()
p=0
for i in f:
if i==x:
p=1
break
d[i]+=1
if d[i]>1:
p=0.5
ans+=p
print(ans)