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:22:22: error: a function-definition is not allowed here before '{' token void dfs(int x,int y){ ^ /in/foo.cc:29:1: error: expected '}' at end of input } ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1294 拯救OIBH总部
- 语言
- C++
- 递交时间
- 2018-09-18 18:38:26
- 评测时间
- 2018-09-18 18:38:26
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes