摘要: 慕课网:http://www.imooc.com/video/5220 参考:http://jingyan.baidu.com/article/870c6fc32c028eb03fe4be30.html http://www.tuicool.com/articles/aUNzMfi http://w 阅读全文
posted @ 2016-10-08 23:07 于光远 阅读(172) 评论(0) 推荐(0) 编辑
摘要: string转int int转string 阅读全文
posted @ 2016-10-08 11:45 于光远 阅读(264) 评论(0) 推荐(0) 编辑
摘要: main.cpp #include <iostream> #include <vector> #include <chrono> #include <functional> #include "ThreadPool.h" #include <omp.h> class CA { int a = 1; 阅读全文
posted @ 2016-10-08 11:12 于光远 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 题目描述 把只包含因子2、3和5的数称作丑数(Ugly Number)。例如6、8都是丑数,但14不是,因为它包含因子7。 习惯上我们把1当做是第一个丑数。求按从小到大的顺序的第N个丑数。 思路1:只能被2,3,5整除的就是丑数。 int GetUglyNumber_Solution(int ind 阅读全文
posted @ 2016-10-08 10:39 于光远 阅读(189) 评论(0) 推荐(0) 编辑