摘要: 底层的程序员一定会遇到二进制的问题#include #include #include using namespace std;//整数转换为string类型string int2str(int n){ stringstream ss; string s; ss>s; return s;}//将十进... 阅读全文
posted @ 2017-03-28 17:10 开往春天的拖拉机 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 底层的程序员一定会遇到二进制的问题#include #include #include using namespace std;//整数转换为string类型string int2str(int n){ stringstream ss; string s; ss>s;... 阅读全文
posted @ 2017-03-28 17:10 开往春天的拖拉机 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 草稿笔记为:通过kd树的部分代码为#include #include using namespace std;void select_sort(vector vec){ int n = vec.size(); for(int j = 0;j vec){ int n = vec.size(); sel... 阅读全文
posted @ 2017-03-28 16:12 开往春天的拖拉机 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 草稿笔记为:通过kd树的部分代码为#include #include using namespace std;void select_sort(vector vec){ int n = vec.size(); for(int j = 0;j vec){ int n =... 阅读全文
posted @ 2017-03-28 16:12 开往春天的拖拉机 阅读(82) 评论(0) 推荐(0) 编辑