結果
| 問題 | No.3280 Black-Tailed Gull vs Monster | 
| コンテスト | |
| ユーザー |  sasa8uyauya | 
| 提出日時 | 2025-09-26 21:24:53 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 182 ms / 2,000 ms | 
| コード長 | 169 bytes | 
| コンパイル時間 | 266 ms | 
| コンパイル使用メモリ | 82,332 KB | 
| 実行使用メモリ | 119,004 KB | 
| 最終ジャッジ日時 | 2025-09-26 21:24:59 | 
| 合計ジャッジ時間 | 5,439 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 40 | 
ソースコード
n,x,Q=map(int,input().split())
e=0
for _ in range(Q):
  m=int(input())
  f=list(map(int,input().split()))
  if x in f:
    e+=1
  elif len(set(f))<m:
    e+=1/2
print(e)
            
            
            
        