結果
| 問題 | No.3280 Black-Tailed Gull vs Monster |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-26 21:42:02 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 153 ms / 2,000 ms |
| + 356µs | |
| コード長 | 301 bytes |
| 記録 | |
| コンパイル時間 | 83 ms |
| コンパイル使用メモリ | 64,420 KB |
| 実行使用メモリ | 89,776 KB |
| 最終ジャッジ日時 | 2026-10-17 22:38:21 |
| 合計ジャッジ時間 | 5,956 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 39 |
ソースコード
N,X,Q = map(int,input().split()) ans = 0 for i in range(Q): M = int(input()) F = list(map(int,input().split())) p = 0 flag = False st = set() for j in range(M): if(F[j] == X): p = 1 if(F[j] in st): flag = True st.add(F[j]) if(p == 0 and flag == True): p = 0.5 ans += p print(ans)