結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
ponponpop
|
| 提出日時 | 2018-09-02 18:02:52 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 21 ms / 5,000 ms |
| + 319µs | |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 55 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-09-08 06:27:24 |
| 合計ジャッジ時間 | 2,084 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
x=int(input())
y=int(input())
l=int(input())
count=0
if x!=0:
count +=1
if y<0 and x==0:
count +=2
elif y<0:
count+=1
print((-(-abs(y)//l)) + (-(-abs(x)//l)) +count)
ponponpop