結果
| 問題 |
No.3325 陰陽師
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-03 10:50:59 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 306 bytes |
| コンパイル時間 | 349 ms |
| コンパイル使用メモリ | 12,032 KB |
| 実行使用メモリ | 42,908 KB |
| 最終ジャッジ日時 | 2025-11-03 10:51:08 |
| 合計ジャッジ時間 | 8,360 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge7 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 2 WA * 28 |
ソースコード
import bisect
n, m = map(int, input().split())
s = list(map(int, input().split()))
t = list(map(int, input().split()))
s.sort()
burden = 0
idx = 0
for tj in t:
i = bisect.bisect_left(s, tj, idx)
if i >= len(s):
break
burden = max(burden, s[i] - tj)
idx = i + 1
print(burden)