摘要: 转自百度百科 主要记录写题时遇到的 STL 的一些函数, 这里函数的区间几乎都是半开的。 1,sort(start, end, cmp) 头文件:<algorithm> 时间复杂度:nlog2n 升序:默认升序 降序:加一个比较函数 bool complare(int a, int b) { ret 阅读全文
posted @ 2020-03-27 20:28 叫我妖道 阅读(246) 评论(0) 推荐(1) 编辑
摘要: 视频地址:https://www.bilibili.com/video/BV1cb411t7AM?from=search&seid=10066884482637263864 代码 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #include<s 阅读全文
posted @ 2020-03-27 12:03 叫我妖道 阅读(582) 评论(0) 推荐(1) 编辑
~~加载中~~