记录详情

Accepted

/in/foo.c: In function 'ShortLength':
/in/foo.c:21:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(m=(n+1)/2-1; m>0; m--)
  ^~~
/in/foo.c:23:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   printf("%d\n",s1+s2);
   ^~~~~~
/in/foo.c:18:22: warning: unused variable 's4' [-Wunused-variable]
  int s1=0, s2=0,s3=0,s4=0;int m;
                      ^~
/in/foo.c:18:17: warning: unused variable 's3' [-Wunused-variable]
  int s1=0, s2=0,s3=0,s4=0;int m;
                 ^~
# 状态 耗时 内存占用
#1 Accepted 0ms 196.0 KiB
#2 Accepted 0ms 192.0 KiB
#3 Accepted 1ms 196.0 KiB
#4 Accepted 4ms 192.0 KiB
#5 Accepted 25ms 196.0 KiB

信息

递交者
类型
递交
题目
4-1 旅游住处
比赛
课程赛事 2018/12/16
语言
C
递交时间
2018-12-16 16:59:52
评测时间
2018-12-16 16:59:52
评测机
分数
100
总耗时
32ms
峰值内存
196.0 KiB