记录详情

Compile Error

foo.cc: In function 'void DFS(std::vector<std::vector<int> >, int, int, int, int, int, int, int&, int)':
foo.cc:40:12: error: 'nextx' was not declared in this scope
    DFS(Map,nextx,nexty,res,ans+Map[x][ry],n,m,distance,0);
            ^~~~~
foo.cc:40:18: error: 'nexty' was not declared in this scope
    DFS(Map,nextx,nexty,res,ans+Map[x][ry],n,m,distance,0);
                  ^~~~~
foo.cc:42:18: error: 'dy' was not declared in this scope
   else if(dx<n&&(dy>=m||Map[dx][y]>Map[x][ry]){
                  ^~
foo.cc:42:18: note: suggested alternative: 'dx'
   else if(dx<n&&(dy>=m||Map[dx][y]>Map[x][ry]){
                  ^~
                  dx
foo.cc:42:47: error: expected ')' before '{' token
   else if(dx<n&&(dy>=m||Map[dx][y]>Map[x][ry]){
                                               ^
foo.cc:45:2: error: expected primary-expression before '}' token
  }
  ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
P1299 F. Game
语言
C++
递交时间
2021-11-21 16:52:31
评测时间
2021-11-21 16:52:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes