摘要:
原文:http://blog.csdn.net/tianshuai1111/article/details/7674327一,巡防算法 for_each(容器起始地址,容器结束地址,要执行的方法)[html]view plaincopy#include#include#includeusing... 阅读全文
posted @ 2015-07-07 21:37
朱传林
阅读(258)
评论(0)
推荐(0)
摘要:
Given an integer, write a function to determine if it is a power of two. 2的幂的二进制表示中,必然只有一个“1”,且不可能为负数。class Solution {public: bool isPowerOfTwo(i... 阅读全文
posted @ 2015-07-07 10:40
朱传林
阅读(116)
评论(0)
推荐(0)
摘要:
Find all possible combinations ofknumbers that add up to a numbern, given that only numbers from 1 to 9 can be used and each combination should be a u... 阅读全文
posted @ 2015-07-07 10:23
朱传林
阅读(174)
评论(0)
推荐(0)

浙公网安备 33010602011771号