Compile Error

foo.cc: In function ‘int main()’:
foo.cc:24:20: error: ‘nx’ was not declared in this scope; did you mean ‘x’?
   24 |                 if(nx==r&&nt==c){
      |                    ^~
      |                    x
foo.cc:24:27: error: ‘nt’ was not declared in this scope; did you mean ‘t’?
   24 |                 if(nx==r&&nt==c){
      |                           ^~
      |                           t
foo.cc:32:39: error: expected ‘;’ before ‘{’ token
   32 |                                 q.push{nx,ny,t+1};
      |                                       ^
      |                                       ;
foo.cc:32:35: error: statement cannot resolve address of overloaded function
   32 |                                 q.push{nx,ny,t+1};
      |                                 ~~^~~~

信息

递交者
类型
递交
题目
P2063 走迷宫
语言
C++
递交时间
2025-07-22 13:54:27
评测时间
2025-07-22 13:54:27
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes