第20500题 单选题
给定的C++插入排序程序中,第9行横线处应填入的代码是?
int a[8]={2,3,4,5,6,2,3,1};
for (int i=1;i<8;i++)
{
  int key = a[i];
  int j=i-1;
  while(a[j]>key && j>=0)
  {
   ________;
   j -= 1;
  }
  a[j + 1]= key;
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析