摘要:
Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of 阅读全文
posted @ 2017-02-22 20:07
sunli0205
阅读(404)
评论(0)
推荐(0)
摘要:
1、左移( << ) // 0000 0000 0000 0000 0000 0000 0000 0101 然后左移2位后,低位补0:// // 0000 0000 0000 0000 0000 0000 0001 0100 换算成10进制为20 System.out.println(5 << 2) 阅读全文
posted @ 2017-02-22 10:06
sunli0205
阅读(200)
评论(0)
推荐(0)
摘要:
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calcul 阅读全文
posted @ 2017-02-22 10:00
sunli0205
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号