记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:20:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(s(a)==0);
   ^~
/in/foo.c:21:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    i=0;
    ^
/in/foo.c:24:4: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
    if(i=0)
    ^~
/in/foo.c: In function 's':
/in/foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 228.0 KiB

信息

递交者
类型
自测
题目
A5-1 超级素数判断
语言
C
递交时间
2021-10-21 14:52:25
评测时间
2021-10-21 14:52:25
评测机
分数
10
总耗时
1ms
峰值内存
228.0 KiB