全部评论 1

  • 编译错误: /code/judger/test/1825851330794782720/main.cpp: In function 'int main()':
    /code/judger/test/1825851330794782720/main.cpp:19:34: error: 'dirs' was not declared in this scope
    int ni = i + dirs[k][0], nj = j + dirs[k][1];
    ^~~~
    /code/judger/test/1825851330794782720/main.cpp:19:34: note: suggested alternative: 'div'
    int ni = i + dirs[k][0], nj = j + dirs[k][1];
    ^~~~
    div
    /code/judger/test/1825851330794782720/main.cpp:20:47: error: 'nj' was not declared in this scope
    if (ni >= 1 && ni <= n && nj >= 1 && nj <= m && a[ni][nj] == '?') {
    ^~
    /code/judger/test/1825851330794782720/main.cpp:20:47: note: suggested alternative: 'ni'
    if (ni >= 1 && ni <= n && nj >= 1 && nj <= m && a[ni][nj] == '?') {
    ^~
    ...

    2024-08-20 来自 天津

    0
    • userId_undefined

      回复

      嗯~

      2024-08-20 来自 天津

      0
    • acgo的

      2024-08-20 来自 浙江

      0
首页