Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:19:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 19 | if(n=1) | ~^~ foo.cc:10:9: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 10 | else | ^~~~ foo.cc:22:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 22 | cout<<"Yes"<<endl; | ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- A5-1 超级素数判断
- 语言
- C++
- 递交时间
- 2025-08-08 21:07:45
- 评测时间
- 2025-08-08 21:07:45
- 评测机
- 分数
- 0
- 总耗时
- 12ms
- 峰值内存
- 544.0 KiB