結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2023-10-20 13:17:04 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 152 bytes |
コンパイル時間 | 369 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 52,224 KB |
最終ジャッジ日時 | 2024-09-20 08:47:40 |
合計ジャッジ時間 | 2,026 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 WA * 1 |
ソースコード
x = int(input()) y = int(input()) l = int(input()) ans = 0 + int(y < 0) + int(x != 0) y, x = abs(y), abs(x) ans += -(-y // l) + -(-x // l) print(ans)