Runtime Error
foo.c:3:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
    3 | void main()
      |      ^~~~
foo.c: In function ‘main’:
foo.c:7:17: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    7 |                 for(i=2;i<=sqrt(n);i++)
      |                 ^~~
foo.c:14:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   14 |                         if(j)
      |                         ^~
  信息
- 递交者
 - 类型
 - 递交
 - 题目
 - A3-2 素数专题:素数判断
 - 比赛
 - 南师大(含泰州学院)2024年新生赛(第一场)
 - 语言
 - C
 - 递交时间
 - 2024-08-16 09:12:03
 - 评测时间
 - 2024-08-16 09:12:03
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 7ms
 - 峰值内存
 - 552.0 KiB