标签:std style include ace class ios 运算 return space
#include<iostream> #include<cstdio> using namespace std; int main() { int q; cin>>q; int w=q<<1;//等价于q*2 int e=1<<q;//等价于2的q次方 int r=q>>1;//等价于q/2 int t=1>>q;//等价于0 cout<<w<<" "<<e<<" "<<r<<" "<<t; return 0; }
标签:std style include ace class ios 运算 return space
原文地址:http://www.cnblogs.com/zxqxwnngztxx/p/6680133.html