結果
| 問題 |
No.48 ロボットの操縦
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-17 18:01:08 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 177 bytes |
| コンパイル時間 | 149 ms |
| コンパイル使用メモリ | 82,124 KB |
| 実行使用メモリ | 53,556 KB |
| 最終ジャッジ日時 | 2024-06-29 07:44:05 |
| 合計ジャッジ時間 | 2,070 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 7 |
ソースコード
x = int(input())
y = int(input())
l = int(input())
import math
count = math.ceil(abs(y)/l)
if x==0:
print(count)
else:
count+=math.ceil(abs(x)/l)+1
print(count)