记录详情

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++)
      |         ^~~
# 状态 耗时 内存占用
#1 Wrong Answer On line 1: Read no, expect No. 1ms 512.0 KiB
#2 Wrong Answer On line 1: Read yes, expect Yes. 1ms 256.0 KiB
#3 Wrong Answer On line 1: Read yes, expect Yes. 1ms 256.0 KiB
#4 Wrong Answer On line 1: Read no, expect No. 1ms 256.0 KiB
#5 Wrong Answer On line 1: Read no, expect No. 1ms 256.0 KiB

信息

递交者
类型
递交
比赛
南师大2025年新生赛(第一场)
语言
C
递交时间
2025-08-16 21:59:16
评测时间
2025-08-23 22:09:33
评测机
分数
0
总耗时
6ms
峰值内存
512.0 KiB