摘要:
题目链接 参考链接:http://blog.csdn.net/to_be_better/article/details/50658392 题意: 求一个区间内的Beautiful numbers有多少个。Beautiful numbers指:一个数能整除所有组成它的非0数字。 例如15可以被1和5整 阅读全文
摘要:
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3709 题意:找出区间内平衡数的个数,所谓的平衡数,就是以这个数字的某一位为支点,另外两边的数字大小乘以力矩之和相等,即为平衡数 1 #include <algorithm> 2 #include <io 阅读全文