結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
|
提出日時 | 2023-05-03 20:20:35 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 175 bytes |
コンパイル時間 | 308 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-11-21 20:59:41 |
合計ジャッジ時間 | 1,996 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 18 WA * 7 |
ソースコード
X = int(input()) Y = int(input()) L = int(input()) X = abs(X) Y = abs(Y) cnt = Y//L + (0 if Y%L==0 else 1) if X>0: cnt+=1 cnt+= X//L + (0 if X%L==0 else 1) print(cnt)