結果
| 問題 |
No.3280 Black-Tailed Gull vs Monster
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-28 10:13:02 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 339 bytes |
| コンパイル時間 | 312 ms |
| コンパイル使用メモリ | 11,904 KB |
| 実行使用メモリ | 29,772 KB |
| 最終ジャッジ日時 | 2025-09-28 10:13:11 |
| 合計ジャッジ時間 | 8,744 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 32 WA * 8 |
ソースコード
from collections import Counter
n, x, q = map(int, input().split())
ans = 0
for _ in range(q):
m = int(input())
f = list(map(int, input().split()))
if x in f:
ans += 1
else:
counter = Counter(f)
for k, v in counter.items():
if v >= 2 and k != x:
ans += 0.5
print(ans)