位运算
时间:2019-12-07 19:37:31
收藏:0
阅读:94
背景:
? 上课进度:Part1_递归及位运算
偶数判断
x&1
TRUE
return 0;
FALSE
return 1;
2^n判断
x&(x-1)
TRUE
return 0;
FALSE
return 1;
原文:https://www.cnblogs.com/FirwoodLin/p/12002957.html
评论(0)