結果
問題 |
No.3280 Black-Tailed Gull vs Monster
|
ユーザー |
![]() |
提出日時 | 2025-09-26 21:27:00 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 304 ms / 2,000 ms |
コード長 | 269 bytes |
コンパイル時間 | 360 ms |
コンパイル使用メモリ | 82,668 KB |
実行使用メモリ | 114,552 KB |
最終ジャッジ日時 | 2025-09-26 21:27:07 |
合計ジャッジ時間 | 6,895 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 40 |
ソースコード
from collections import Counter n, x, q = map(int, input().split()) ans = 0 for _ in range(q): m = int(input()) found = False dup = False d = Counter(map(int, input().split())) ans += 1.0 if x in d else 0.5 if max(d.values()) > 1 else 0.0 print(ans)