結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-17 18:01:08 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 177 bytes |
| 記録 | |
| コンパイル時間 | 239 ms |
| コンパイル使用メモリ | 95,080 KB |
| 実行使用メモリ | 78,592 KB |
| 最終ジャッジ日時 | 2026-08-01 15:24:58 |
| 合計ジャッジ時間 | 3,523 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)