- 博客(1)
- 收藏
- 关注
原创 pat 甲 1098 Insertion or Heap Sort (测试点4)
题目详情 - 1098 Insertion or Heap Sort (25 分) (pintia.cn) 判断插入排序或者堆排序,要注意测试点4的坑,可能存在重复的数据 #include<cstdio> #include<cstdlib> #include<algorithm> using namespace std; int n,array[110],ans[110]; void downadjust(int pos){ swap(ans[1],ans[
2022-03-24 22:15:50 540
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人