結果

問題 No.48 ロボットの操縦
ユーザー 80
提出日時 2020-03-08 20:55:55
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-07 17:30:20
合計ジャッジ時間 1,876 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 16 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

X = abs(int(input()))
Y = abs(int(input()))
L = int(input())

count = X // L if X % L == 0 else X//L + 1

if Y != 0:
    count += 1
    count += Y // L if Y % L == 0 else Y//L + 1

print(count)
0