记录详情

Accepted

/in/foo.c: In function 'AscOrderCount':
/in/foo.c:99:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=0; i<n; i++)
  ^~~
/in/foo.c:102:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return count;
   ^~~~~~
/in/foo.c: In function 'FindMaxIndex':
/in/foo.c:38:9: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int i, index, flag=0;
         ^~~~~
/in/foo.c: In function 'FindSecMax':
/in/foo.c:80:9: warning: 'index' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return index;
         ^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 216.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 0ms 220.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
A9-6 数组中增序子序列的个数
比赛
基于整数数组的编程技能的进阶训练(一)
语言
C
递交时间
2019-05-17 20:51:34
评测时间
2019-05-17 20:51:34
评测机
分数
100
总耗时
5ms
峰值内存
220.0 KiB