摘要: template <class BidirectionalIterator> void reverse (BidirectionalIterator first, BidirectionalIterator last); Reverse range Reverses the order of the 阅读全文
posted @ 2022-02-19 22:38 FrostyForest 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 思路: 对原数组拷贝到另一个数组,进行升序排序 从大到小确定排好序的数组的数字在原数组中的位置,为x;在排好序中的数组的位置为y; 进行从0到x-1逆序,再进从0到y-1逆序; 从大到小确定排好序的数组的数字在原数组中的位置为x;在排好序中的数组的位置为y; 重复。。。直到y=0 输出结果 阅读全文
posted @ 2022-02-19 22:36 FrostyForest 阅读(19) 评论(0) 推荐(0) 编辑
摘要: win10 fn+start+tab 阅读全文
posted @ 2022-02-19 00:29 FrostyForest 阅读(2039) 评论(0) 推荐(0) 编辑