/ JoyAc /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:23:2: error: expected ';' before '}' token
  }
  ^
foo.cc:25:16: error: expected primary-expression before ';' token
  for(int i=1;i<;i++)
                ^
foo.cc:27:9: error: 'j' was not declared in this scope
   dfs(i,j);
         ^
foo.cc:27:3: error: 'dfs' was not declared in this scope
   dfs(i,j);
   ^~~
foo.cc:24:6: warning: unused variable 'k' [-Wunused-variable]
  int k=0;
      ^
foo.cc:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%c",&a[i][j])
   ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1059 走迷宫
语言
C++
递交时间
2021-11-24 22:49:01
评测时间
2021-11-24 22:49:01
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes