摘要:
1 //常用算法 binary_serach 2 //查找指定的元素 3 //无序序列中不可用 4 5 6 #include<iostream> 7 #include<algorithm> 8 #include<vector> 9 10 using namespace std; 11 12 void 阅读全文
posted @ 2021-08-18 10:59
Bytezero!
阅读(69)
评论(0)
推荐(0)
摘要:
1 //常用算法 adjacent_find 2 //查找相邻的重复元素 3 #include<iostream> 4 #include<string> 5 #include<algorithm> 6 #include<vector> 7 8 using namespace std; 9 10 vo 阅读全文
posted @ 2021-08-18 10:46
Bytezero!
阅读(94)
评论(0)
推荐(0)
摘要:
1 //常用查找算法 find_if 2 #include<iostream> 3 #include<string> 4 #include<vector> 5 #include<algorithm> 6 7 using namespace std; 8 9 //内置数据类型 10 11 class 阅读全文
posted @ 2021-08-18 10:37
Bytezero!
阅读(238)
评论(0)
推荐(0)
摘要:
1 //常用查找算法 find 2 #include<iostream> 3 #include<algorithm> 4 #include<functional> 5 #include<vector> 6 #include<string> 7 #include<map> 8 9 using name 阅读全文
posted @ 2021-08-18 09:15
Bytezero!
阅读(225)
评论(0)
推荐(0)
浙公网安备 33010602011771号