Skip to content
New issue

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

关于 0x25 中例题 Bloxorz 的标程错误问题 #97

Open
XiongDiNanDang opened this issue Oct 7, 2024 · 1 comment
Open

关于 0x25 中例题 Bloxorz 的标程错误问题 #97

XiongDiNanDang opened this issue Oct 7, 2024 · 1 comment

Comments

@XiongDiNanDang
Copy link

AcWing 中对该题的题目描述,以及书上印的简化版题意里都没有说过游戏地图的最边上一圈都是禁地(#),但是书上给出的程序并没有判断横躺的时候箱子右部的,和纵躺的时候箱子下部的地图边界判断,导致箱子可以超出边界躺着进行滚动。错误数据如下:

输入:

4 5
###OE
####E
####E
X...E
0 0

输出:

7

答案:

Impossible
@tabbbbbb
Copy link

tabbbbbb commented Oct 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants