結果
| 問題 | 
                            No.48 ロボットの操縦
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2025-10-12 11:18:42 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 190 bytes | 
| コンパイル時間 | 366 ms | 
| コンパイル使用メモリ | 11,904 KB | 
| 実行使用メモリ | 10,368 KB | 
| 最終ジャッジ日時 | 2025-10-12 11:18:44 | 
| 合計ジャッジ時間 | 2,171 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 18 WA * 7 | 
ソースコード
import math X = int(input()) Y = int(input()) L = int(input()) x_moves = math.ceil(abs(X) / L) y_moves = math.ceil(abs(Y) / L) turns = 1 if X != 0 else 0 print(x_moves + y_moves + turns)