結果
| 問題 | No.3280 Black-Tailed Gull vs Monster | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-09-13 11:12:52 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                            (最新) 
                                AC
                                 
                            (最初) | 
| 実行時間 | - | 
| コード長 | 211 bytes | 
| コンパイル時間 | 181 ms | 
| コンパイル使用メモリ | 82,172 KB | 
| 実行使用メモリ | 120,104 KB | 
| 最終ジャッジ日時 | 2025-09-13 14:02:52 | 
| 合計ジャッジ時間 | 5,047 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 1 | 
| other | AC * 3 WA * 37 | 
ソースコード
N,X,Q=map(int,input().split())
ans=0
for i in range(Q):
    M=int(input())
    F=list(map(int,input().split()))
    if X not in F:
        ans+=0.5
        if len(set(F))==len(F):
            ans+=0.5
print(ans)
            
            
            
        