记录详情

Accepted

/in/foo.cc: In function 'void SelectSort(int*, int, int)':
/in/foo.cc:10:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (j = i + 1; j <n; j++)
   ^~~
/in/foo.cc:15:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    if (i != min)
    ^~
/in/foo.cc:6:17: warning: unused variable 'min' [-Wunused-variable]
  int i, j, temp,min;
                 ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 344.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
DS8-2 选择排序的第k趟
比赛
中北 数据结构日常作业
语言
C++
递交时间
2021-12-12 14:04:32
评测时间
2021-12-12 14:04:32
评测机
分数
100
总耗时
8ms
峰值内存
376.0 KiB