結果
| 問題 | No.3280 Black-Tailed Gull vs Monster |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2025-09-26 21:27:00 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 159 ms / 2,000 ms |
| + 197µs | |
| コード長 | 269 bytes |
| 記録 | |
| コンパイル時間 | 82 ms |
| コンパイル使用メモリ | 64,380 KB |
| 実行使用メモリ | 90,828 KB |
| 最終ジャッジ日時 | 2026-10-17 22:36:27 |
| 合計ジャッジ時間 | 5,852 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 39 |
ソースコード
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)
Kude