摘要: static bool CheckPowerOfTwo(ulong num) { return num > 0 && (num & (num - 1)) == 0; } 阅读全文
posted @ 2017-11-21 22:51 Jichan·Jong 阅读(552) 评论(0) 推荐(1) 编辑