记录详情

Compile Error

/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:24:14: error: 'dx' was not declared in this scope
   int newx=x+dx[i];
              ^~
/in/foo.cc:24:14: note: suggested alternative: 'x'
   int newx=x+dx[i];
              ^~
              x
/in/foo.cc:25:14: error: 'dy' was not declared in this scope
   int newy=y+dy[i];
              ^~
/in/foo.cc:25:14: note: suggested alternative: 'y'
   int newy=y+dy[i];
              ^~
              y

信息

递交者
类型
自测
题目
2-7 有几个岛屿
语言
C++
递交时间
2018-12-12 14:02:59
评测时间
2018-12-12 14:03:32
评测机
分数
0
总耗时
335ms
峰值内存
42.352 MiB