摘要:
2017-3-7-lint82single-number在河之洲算法小书匠 problem82single-number/ solution int singleNumber(vector &A) { // write your code here if (A.empty()) return 0; int result =... 阅读全文
posted @ 2017-03-07 22:40
在河之博
阅读(103)
评论(0)
推荐(0)
摘要:
2017-3-7-lint183-wood-cut在河之洲算法lintcode problemlintcode183 wood cut solution注意两点注意边界条件取的是最大值而不是最小值. int woodCut(vector L, int k) { // write your code here //先找到L里面最短的; // write you... 阅读全文
posted @ 2017-03-07 10:52
在河之博
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号