@[46tni](/user/456419)
```cpp
for (int i = 1;i <= n;i++) {
cin >> maze[i];
maze[i] = ' ' + maze[i]
}
```
```string``` 的下标是从 $0$ 开始的
by Ninelife_Cat @ 2021-10-22 19:13:25
@[Ninelife_Cat](/user/329672) 感谢
by Commandant @ 2021-10-22 19:16:34