結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-01-12 23:54:02 |
| 言語 | Python3 (3.15.0 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 251 bytes |
| 記録 | |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 15,232 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2026-10-06 21:53:32 |
| 合計ジャッジ時間 | 9,140 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 1 TLE * 1 -- * 21 |
ソースコード
X = abs(int(input()))
Y = abs(int(input()))
L = int(input())
count_x = count_y = x = y = 0
while X > x:
count_x += 1
x += L
while Y > y:
count_y += 1
y += L
if X==0 or Y==0:
print(count_x+count_y)
else:
print(count_x+count_y+1)