Wrong Answer
foo.c: In function ‘main’:
foo.c:8:9: warning: unused variable ‘i’ [-Wunused-variable]
8 | int i;
| ^
foo.c:6:17: warning: unused variable ‘tot’ [-Wunused-variable]
6 | int num,tot=0;
| ^~~
foo.c: In function ‘judge_su’:
foo.c:17:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
17 | if (num==1)
| ^~
foo.c:19:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
19 | for(i=2;i<num;i++)
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- A5-1 超级素数判断
- 比赛
- 南师大2025年新生赛(第一场)
- 语言
- C
- 递交时间
- 2025-08-16 21:59:16
- 评测时间
- 2025-08-23 22:09:33
- 评测机
- 分数
- 0
- 总耗时
- 6ms
- 峰值内存
- 512.0 KiB