Wrong Answer
foo.cc: In function 'int main()': foo.cc:11:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 11 | if(num%i==0) | ^~ foo.cc:13:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 13 | break; | ^~~~~ foo.cc:7:13: warning: unused variable 'sum' [-Wunused-variable] 7 | int sum=0; | ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- A3-2 素数专题:素数判断
- 语言
- C++
- 递交时间
- 2024-03-22 12:03:08
- 评测时间
- 2024-03-22 12:03:08
- 评测机
- 分数
- 60
- 总耗时
- 14ms
- 峰值内存
- 768.0 KiB