結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2020-06-09 22:13:44 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 237 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-10-10 09:07:52 |
| 合計ジャッジ時間 | 2,077 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 8 WA * 17 |
ソースコード
x = int(input())
y = int(input())
l = int(input())
ans = 0
if y == 0:
ans = 1
elif x == 0:
if y < 0:
ans = 2
y = abs(y)
else:
x = abs(x)
y = abs(y)
ans += 2
print((x - 1) // l + (y - 1) // l + 2 + ans)