結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-02-06 21:30:21 |
| 言語 | Python3 (3.14.2 + numpy 2.4.0 + scipy 1.16.3) |
| 結果 |
AC
|
| 実行時間 | 156 ms / 5,000 ms |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 572 ms |
| コンパイル使用メモリ | 20,688 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-02-06 21:30:29 |
| 合計ジャッジ時間 | 5,736 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 25 |
ソースコード
x=int(input()) y=int(input()) l=int(input()) if y>=0: ans=-(-y//l) if x:ans+=1+-(-abs(x)//l) else: ans=2+-(y//l)+-(-abs(x)//l) print(ans)