02 2021 档案

摘要:先来一波温习: sort函数排序 sort(first_pointer,first_pointer+n,cmp),该函数可以给数组,或者链表list、向量排序。 参数1:第一个参数是数组的首地址,一般写上数组名就可以,因为数组名是一个指针常量。 参数2:第二个参数相对较好理解,即首地址加上数组的长度 阅读全文
posted @ 2021-02-04 12:02 要兵长还是里维 阅读(67) 评论(0) 推荐(0) 编辑
摘要:#include<stdio.h> #include<iostream> using namespace std; const int maxn = 100010; struct NODE{ char data; int next; bool flag; }list[maxn]; int find( 阅读全文
posted @ 2021-02-01 17:21 要兵长还是里维 阅读(46) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示