結果
| 問題 |
No.48 ロボットの操縦
|
| コンテスト | |
| ユーザー |
compass19
|
| 提出日時 | 2017-01-02 22:52:18 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 206 bytes |
| コンパイル時間 | 122 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-12-16 05:21:09 |
| 合計ジャッジ時間 | 1,498 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 WA * 6 |
ソースコード
from math import ceil, fabs f = lambda : int(input()) x, y, l = f(), f(), f() ans = 0 if y < 0: if x != 0: ans += 1 else: ans += 2 else: if x != 0: ans += 1 print(ans + ceil(fabs(x)/l) + ceil(fabs(y)/l))
compass19