結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
iwbchi
|
| 提出日時 | 2020-08-19 11:33:15 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 5,000 ms |
| + 457µs | |
| コード長 | 241 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,976 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-14 11:00:51 |
| 合計ジャッジ時間 | 2,007 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
X = int(input())
Y = int(input())
L = int(input())
T = 0
A = abs(int(X / L))
B = abs(int(Y / L))
if not X % L == 0:
A += 1
if not Y % L == 0:
B += 1
if Y < 0:
T += 2
elif X == 0:
pass
else:
T += 1
print(T + A + B)
iwbchi