/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:12:12: error: 'n' was not declared in this scope
  if(x<0||x>n||y<0||y>m)return ;
            ^
/in/foo.cc:12:22: error: 'm' was not declared in this scope
  if(x<0||x>n||y<0||y>m)return ;
                      ^
/in/foo.cc:20:37: error: 'max' was not declared in this scope
    f[tx][ty]=max(f[tx][ty],f[x][y]+1):
                                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:42:21: error: 'j' was not declared in this scope
    ans=max(ans,f[i][j]);
                     ^
/in/foo.cc:42:23: error: 'max' was not declared in this scope
    ans=max(ans,f[i][j]);
                       ^

信息

递交者
类型
自测
题目
P1011 清帝之惑之顺治
语言
C++
递交时间
2017-04-30 17:02:11
评测时间
2017-04-30 17:02:11
评测机
分数
0
总耗时
35ms
峰值内存
4.336 MiB