摘要: #include <iostream> #include <vector> #include <string> using namespace std; int binSerach(const std::vector<int>& nums, int target) { int low = 0; in 阅读全文
posted @ 2021-10-26 09:24 Kiris 阅读(15) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; int static staticNum = 3; int globalNum = 4; struct staticClass { static int staticClassNUm ; int classNum = 阅读全文
posted @ 2021-10-26 09:23 Kiris 阅读(19) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> using namespace std; typedef struct BiTNode{ char ch; //结点数据 struct BiTNode *lchild; //左孩子 str 阅读全文
posted @ 2021-10-26 09:23 Kiris 阅读(56) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> using namespace std; void mergeSortNum(vector<int>& vec1, int m, vector<int>& vec2, int n) { i 阅读全文
posted @ 2021-10-26 09:23 Kiris 阅读(28) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;int main(){ vec... 阅读全文
posted @ 2021-10-26 09:23 Kiris 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <algorithm> #include <numeric> using namespace std; void bubleSort(std::vector<int>& vec) { auto size = 阅读全文
posted @ 2021-10-26 09:22 Kiris 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> #include "stdlib.h" #include "stdio.h" using namespace std; #define NULL 0 #define LEN sizeof( 阅读全文
posted @ 2021-10-26 09:21 Kiris 阅读(36) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> #include <unordered_map> #include <mutex> #include <thread> using namespace std; // vector<int 阅读全文
posted @ 2021-10-26 09:21 Kiris 阅读(30) 评论(0) 推荐(0) 编辑