记录详情

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:15:33: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   15 |                                 for(i=2;i<=sqrt(b);i++)
      |                                 ^~~
foo.c:22:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   22 |                                         if(t==0)
      |                                         ^~
# 状态 耗时 内存占用
#1 Runtime Error Your program returned 3. 1ms 288.0 KiB
#2 Runtime Error Your program returned 3. 1ms 516.0 KiB
#3 Runtime Error Your program returned 2. 1ms 324.0 KiB
#4 Runtime Error Your program returned 3. 1ms 552.0 KiB
#5 Runtime Error Your program returned 2. 1ms 320.0 KiB

信息

递交者
类型
递交
题目
A5-1 超级素数判断
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C
递交时间
2024-08-16 10:03:34
评测时间
2024-08-16 10:03:34
评测机
分数
0
总耗时
6ms
峰值内存
552.0 KiB