Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:13:16: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int' [-Wformat=] scanf("%c",a); ^ /in/foo.cc:19:22: error: 'dfs' was not declared in this scope if(s[i][j])dfs(i,j),++ans; ^ /in/foo.cc: In function 'void dfs(int, int)': /in/foo.cc:24:4: error: 'i' was not declared in this scope s[i][j]=0; ^ /in/foo.cc:24:7: error: 'j' was not declared in this scope s[i][j]=0; ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1294 拯救OIBH总部
- 语言
- C++
- 递交时间
- 2018-09-18 18:38:50
- 评测时间
- 2018-09-18 18:38:50
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes