摘要:
题目: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your m 阅读全文
posted @ 2016-09-12 22:15
wangxiaobao1114
阅读(181)
评论(0)
推荐(0)
摘要:
题目: 定义函数f(x)为x的最大奇数约数,x为正整数,例如f(44) = 11. 现在给出一个N,需要求出f(1) + f(2) + f(3) + ... + f(N) 例如: N = 7 f(1) + f(2) + f(3) + f(4) + f(5) + f(6) + f(7) = 1 + 1 阅读全文
posted @ 2016-09-12 21:17
wangxiaobao1114
阅读(3542)
评论(6)
推荐(2)

浙公网安备 33010602011771号