結果
| 問題 | No.3280 Black-Tailed Gull vs Monster |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-13 14:01:09 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 153 ms / 2,000 ms |
| + 398µs | |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 274 ms |
| コンパイル使用メモリ | 95,720 KB |
| 実行使用メモリ | 130,560 KB |
| 最終ジャッジ日時 | 2026-07-15 01:43:59 |
| 合計ジャッジ時間 | 8,092 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 40 |
ソースコード
N,X,Q=map(int,input().split())
ans=0
for i in range(Q):
M=int(input())
F=list(map(int,input().split()))
ans+=1
if X not in F:
ans-=0.5
if len(set(F))==len(F):
ans-=0.5
print(ans)