結果
問題 |
No.3280 Black-Tailed Gull vs Monster
|
ユーザー |
|
提出日時 | 2025-09-13 14:01:09 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 163 ms / 2,000 ms |
コード長 | 222 bytes |
コンパイル時間 | 332 ms |
コンパイル使用メモリ | 82,168 KB |
実行使用メモリ | 119,848 KB |
最終ジャッジ日時 | 2025-09-13 14:02:50 |
合計ジャッジ時間 | 4,991 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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)