Wrong Answer
foo.cc: In function ‘int main()’: foo.cc:12:26: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 12 | {if (n%i==0) | ^~ foo.cc:14:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 14 | cout<<"No"<<endl; | ^~~~ foo.cc:7:17: warning: ‘n’ is used uninitialized [-Wuninitialized] 7 | while (n>1) | ~^~ foo.cc:6:13: note: ‘n’ was declared here 6 | int n; | ^
信息
- 递交者
- 类型
- 递交
- 题目
- A5-1 超级素数判断
- 语言
- C++
- 递交时间
- 2025-08-08 20:51:15
- 评测时间
- 2025-08-08 20:51:15
- 评测机
- 分数
- 40
- 总耗时
- 13ms
- 峰值内存
- 504.0 KiB