We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AcWing 中对该题的题目描述,以及书上印的简化版题意里都没有说过游戏地图的最边上一圈都是禁地(#),但是书上给出的程序并没有判断横躺的时候箱子右部的,和纵躺的时候箱子下部的地图边界判断,导致箱子可以超出边界躺着进行滚动。错误数据如下:
#
输入:
4 5 ###OE ####E ####E X...E 0 0
输出:
7
答案:
Impossible
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
AcWing 中对该题的题目描述,以及书上印的简化版题意里都没有说过游戏地图的最边上一圈都是禁地(
#
),但是书上给出的程序并没有判断横躺的时候箱子右部的,和纵躺的时候箱子下部的地图边界判断,导致箱子可以超出边界躺着进行滚动。错误数据如下:输入:
输出:
答案:
The text was updated successfully, but these errors were encountered: