摘要:
题目描述 You are given the array of integer numbers a0, a1, ..., an - 1. For each element find the distance to the nearest zero (to the element which equa 阅读全文
posted @ 2018-01-22 19:06
l..q
阅读(250)
评论(0)
推荐(0)
摘要:
题目描述 Jamie loves sleeping. One day, he decides that he needs to wake up at exactly hh:mm. However, he hates waking up, so he wants to make waking up l 阅读全文
posted @ 2018-01-22 18:56
l..q
阅读(387)
评论(0)
推荐(0)
摘要:
题目描述 小明开始学习二进制转化到十进制,其中要用到2的幂(2的3次幂就是3个2相乘),他觉得这个很有意思。既然通过2的幂相加可以得到十位数,那么反过来,一个十进制数是否可以通过若干个2的幂相加得到呢?小明开始研究起来,他先列出了所有2的幂:1,2,4,8,16,32,64……。4=1+1+1+14 阅读全文
posted @ 2018-01-22 18:28
l..q
阅读(1132)
评论(0)
推荐(0)

浙公网安备 33010602011771号