c++
chenlongzhen_tech
[声明] 此账号不在更新,请关注 http://blog.youkuaiyun.com/tech_chenlongzhen
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
二分搜索
#include <iostream> #include <vector> using namespace std;int main() { vector<int> nums={1,2,3,4,5,6,7}; int find_num = 9; auto beg = nums.begin(), end = nums.end(); auto mid = beg + (e原创 2016-02-15 17:30:55 · 351 阅读 · 0 评论 -
split
#include <string> #include <iostream> #include <fstream> #include <vector> #include <sstream>using namespace std;//void split(string& s, string& delim, vector< string >* ret) //{ // size_t last = 0;原创 2016-05-10 14:50:45 · 711 阅读 · 0 评论
分享