摘要: 二分 int upper_bound_search(int a[], int l, int r){ while(l > 1; ... 阅读全文
posted @ 2021-10-09 09:33 wzx1210 阅读(42) 评论(0) 推荐(0)
摘要: 快速排序 void q_sort_1(int a[], int l, int r){ if(l >= r) return; ... 阅读全文
posted @ 2021-10-09 09:31 wzx1210 阅读(50) 评论(0) 推荐(0)
摘要: 字符串(string 类) 声明 #include#includeusing namespace std;string str1;/... 阅读全文
posted @ 2021-10-09 09:10 wzx1210 阅读(63) 评论(0) 推荐(0)
摘要: STL C标准库 strlen() 字符串长度 strcmp() 字符串比较 strcpy() 字符串拷贝 memset() 暴力清... 阅读全文
posted @ 2021-10-09 08:34 wzx1210 阅读(91) 评论(0) 推荐(0)