Compile Error
foo.cc: In function 'bool prime(int)': foo.cc:6:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6 | if(x<2||x>2&&x%2==0) return 0; | ~~~^~~~~~~~ foo.cc: In function 'void dfs(int, int, int)': foo.cc:18:13: error: 'f' was not declared in this scope 18 | if(s>n||f) return ; | ^ foo.cc:22:3: error: 'f' was not declared in this scope 22 | f=1; | ^
Found 10 testcases.
您没有权限查看该代码,完成本题后再来查看
信息
- 递交者
- 类型
- 递交模式
- 题目
- P3921 素数分解
- 语言
- C++14
- 递交时间
- 2024-03-15 23:07:22
- 评测时间
- 2024-03-15 23:07:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes