結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
URechaRecha
|
| 提出日時 | 2019-08-22 08:29:58 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 436 ms |
| コンパイル使用メモリ | 85,376 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2026-04-28 09:49:15 |
| 合計ジャッジ時間 | 4,093 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 WA * 1 |
ソースコード
from math import ceil X,Y,L = int(input()),int(input()),int(input()) ans = ceil(abs(X)/L) + ceil(abs(Y)/L) if X !=0:ans+=1 if Y < 0:ans +=1 print(ans)
URechaRecha