結果
| 問題 |
No.48 ロボットの操縦
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2020-09-06 23:28:07 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 167 bytes |
| コンパイル時間 | 147 ms |
| コンパイル使用メモリ | 82,248 KB |
| 実行使用メモリ | 53,900 KB |
| 最終ジャッジ日時 | 2024-11-29 07:53:16 |
| 合計ジャッジ時間 | 2,008 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 23 WA * 2 |
ソースコード
x = int(input())
y = int(input())
l = int(input())
x = abs(x)
ans = 0
if y < 0:
ans += 1
x, y = -y, x
ans += (y + l - 1) // l + 1 + (x + l - 1) // l
print(ans)
Kude