結果
問題 |
No.48 ロボットの操縦
|
ユーザー |
![]() |
提出日時 | 2024-03-16 04:05:53 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 112 bytes |
コンパイル時間 | 159 ms |
コンパイル使用メモリ | 82,384 KB |
実行使用メモリ | 53,960 KB |
最終ジャッジ日時 | 2024-09-30 03:49:37 |
合計ジャッジ時間 | 2,001 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 19 |
ソースコード
x=int(input()) y=int(input()) l=int(input()) r=-(-x//l)-(-y//l) if y<0:r+=2+(x<0) else:r+=(x>0)+(x<0)*3 print(r)