Compile Error
foo.cc: In function 'void dfs(int)': foo.cc:82:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(c[x]=0) {c[x]=1;dfs(x+1);c[x]=0;} ~~~~^~ foo.cc:86:1: error: a function-definition is not allowed here before '{' token { ^ foo.cc:103:1: error: expected '}' at end of input } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1046 扫雷
- 语言
- C++
- 递交时间
- 2020-12-05 00:14:33
- 评测时间
- 2020-12-05 00:14:33
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes