結果
| 問題 | No.48 ロボットの操縦 |
| コンテスト | |
| ユーザー |
vjudge1
|
| 提出日時 | 2026-11-23 18:12:58 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 225 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-23 18:13:01 |
| 合計ジャッジ時間 | 2,646 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 WA * 3 |
ソースコード
x=int(input())
y=int(input())
l=int(input())
t=0
if (y<0):
t+=2
y*=-1
if (x<0):
x*=-1
elif (x<0):
t+=1
x*=-1
x=x/l
y=y/l
if x!=int(x):
t+=1
t+=int(x)
if y!=int(y):
t+=1
t+=int(y)
print(t)
vjudge1