随笔分类 -  算法

摘要:#include<algorithm> #include<string> #include<iostream> using namespace std; bool reword(string s) { string::iterator it1, it2; it1 = s.begin(); it2 = 阅读全文
posted @ 2020-04-17 10:39 落地就是一把98K 阅读(111) 评论(0) 推荐(0)
摘要:#include<algorithm> #include<vector> #include<iostream> using namespace std; bool fun(vector<int> v, int& x) { vector<int> v1 = v; sort(v1.begin(), v1 阅读全文
posted @ 2020-04-17 10:23 落地就是一把98K 阅读(125) 评论(0) 推荐(0)