记录详情

Accepted

/in/foo.c: In function 'FindMinCount':
/in/foo.c:5:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(j=x;j<n-1;j++)
  ^~~
/in/foo.c:8:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(i=0;i<n;i++)
   ^~~
/in/foo.c:8:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
/in/foo.c:11:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    return num;
    ^~~~~~
/in/foo.c:5:7: warning: 'x' is used uninitialized in this function [-Wuninitialized]
  for(j=x;j<n-1;j++)
      ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 232.0 KiB
#2 Accepted 0ms 272.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 0ms 248.0 KiB
#5 Accepted 0ms 212.0 KiB

信息

递交者
类型
递交
比赛
中北 计算机2021级专业修读指导(4)
语言
C
递交时间
2021-12-23 19:46:18
评测时间
2021-12-23 19:46:18
评测机
分数
100
总耗时
4ms
峰值内存
272.0 KiB