随笔分类 -  c++

摘要:C++代码一直以其运行时的高性能高调面对世人, 但是说起编译速度,却只有低调的份了。比如我现在工作的源代码,哪怕使用Incredibuild调动近百台机子,一个完整的build也需要四个小时,恐怖!!!虽然平时开发一般不需要在本地做完整的build,但编译几个相关的工程就够你等上好一段时间的了(老外... 阅读全文
posted @ 2014-11-12 19:55 曾有人 阅读(775) 评论(0) 推荐(0)
摘要:推荐一个网站给大家,知乎上看到的,亲测好用http://www.comp.nus.edu.sg/~stevenha/visualization/index.html1.冒泡排序#includeusing namespace std;int a[10]={10,9,8,7,6,5,4,3,2,1};i... 阅读全文
posted @ 2014-08-24 07:55 曾有人 阅读(262) 评论(0) 推荐(0)
摘要:转载于http://blog.csdn.net/eqmcc/article/details/8205249sunday.h#include #include #include #include #ifndef _SUNDAYDLL_H_#define _SUNDAYDLL_H_using names... 阅读全文
posted @ 2014-08-13 16:54 曾有人 阅读(803) 评论(0) 推荐(0)
摘要:ExponentiationTime Limit: 500MSMemory Limit: 10000KTotal Submissions: 134035Accepted: 32776DescriptionProblems involving the computation of exact valu... 阅读全文
posted @ 2014-07-30 09:29 曾有人 阅读(161) 评论(0) 推荐(0)
摘要:Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the... 阅读全文
posted @ 2014-07-25 00:44 曾有人 阅读(150) 评论(0) 推荐(0)
摘要:10015 - Hankson的趣味题Time Limit: 1000MSMemory Limit: 65535KBDescriptionHanks 博士是BT (Bio-Tech,生物技术) 领域的知名专家,他的儿子名叫Hankson。现在,刚刚放学回家的Hankson 正在思考一个有趣的问题。今... 阅读全文
posted @ 2014-07-23 21:40 曾有人 阅读(188) 评论(0) 推荐(0)