移位运算

ll ans=3*(1<<3);
printf("%lld ",ans);
24

int k1 =3,k2=3;
k1<<=1;
k2>>=1;
printf("%d %d ",k1,k2);//6 1

原文地址:https://www.cnblogs.com/tingtin/p/10555470.html