結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
|
提出日時 | 2020-04-02 00:06:29 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 445 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-06-27 12:57:20 |
合計ジャッジ時間 | 2,390 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 WA * 2 |
ソースコード
import math c = [int(input()) for _ in range(2)] l = int(input()) flag = 2 if c[1] < 0 else 1 print(math.ceil(abs(c[0])/l)+math.ceil(abs(c[1])/l)+flag)