結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
|
提出日時 | 2020-05-31 15:35:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 186 bytes |
コンパイル時間 | 259 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-11-17 14:50:52 |
合計ジャッジ時間 | 1,895 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 19 |
ソースコード
from math import ceil X = int(input()) Y = int(input()) L = int(input()) if X!=0 and Y!=0: print(abs(ceil(X/L)) + abs(ceil(Y/L)) + 1) else: print(abs(ceil(X/L)) + abs(ceil(Y/L)))