2016年2月17日

摘要: 题目描述Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is beautiful if and only if it is ... 阅读全文
posted @ 2016-02-17 20:59 JeremyGuo 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 题目描述Balanced numbers have been used by mathematicians for centuries. A positive integer is considered a balanced number if:1) Every even... 阅读全文
posted @ 2016-02-17 19:37 JeremyGuo 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 题目描述The reflected binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in onl... 阅读全文
posted @ 2016-02-17 19:17 JeremyGuo 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 题目描述对于一个正整数 n,定义 f(n) 为它十进制下每一位数字的平 方的和。 现在给定三个正整数 k,a,b,请求出满足 a≤n≤b 且 k×f(n) = n 的 n 的个数。 1≤k,a,b≤10^18 a≤b样例输入51 5000 10000样例输出3题目分析可以发现当每... 阅读全文
posted @ 2016-02-17 18:32 JeremyGuo 阅读(241) 评论(0) 推荐(0) 编辑

导航