
基础题
Asuka明日香
这个作者很懒,什么都没留下…
展开
-
力扣207课程表
力扣刷题207原创 2022-12-01 19:42:44 · 166 阅读 · 0 评论 -
高低位交换
题目描述给出一个小于2^{32}232的正整数。这个数可以用一个3232位的二进制数表示(不足3232位用00补足)。我们称这个二进制数的前1616位为“高位”,后1616位为“低位”。将它的高低位交换,我们可以得到一个新的数。试问这个新的数是多少(用十进制表示)。例如,数13145201314520用二进制表示为0000 0000 0001 0100 0000 1110 1101 100...原创 2018-11-27 21:14:08 · 4858 阅读 · 2 评论 -
Fibonacci in the Pocket
DreamGrid has just found a Fibonacci sequence and two integers and in his right pocket, where indicates the -th element in the Fibonacci sequence. Please tell DreamGrid if is even or is odd....原创 2019-04-28 15:36:58 · 476 阅读 · 0 评论