結果
| 問題 | 
                            No.48 ロボットの操縦
                             | 
                    
| コンテスト | |
| ユーザー | 
                             turner18_jp
                         | 
                    
| 提出日時 | 2017-12-14 15:19:50 | 
| 言語 | Python3  (3.13.1 + numpy 2.2.1 + scipy 1.14.1)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 372 bytes | 
| コンパイル時間 | 106 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 10,880 KB | 
| 最終ジャッジ日時 | 2024-12-14 13:11:45 | 
| 合計ジャッジ時間 | 1,670 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 7 WA * 18 | 
ソースコード
x = int(input()) y = int(input()) l = int(input()) count = 0 if y < 0: count += 2 elif x >= 1 or x < 0: count += 1 x = abs(x) y = abs(y) if x <= l and not x == 0: count += 1 elif x % l == 0: count += x / l else: count += x // l + x % l if y <= l and not y == 0: count += 1 elif y % l == 0: count += y / l else: count += y // l + y % l print(int(count))
            
turner18_jp