1 条题解
-
0
#include<bits/stdc++.h> using namespace std; typedef long long LL; int main() { LL a,b;scanf("%lld%lld",&a,&b); printf("%lld\n",a<<b); printf("%lld\n",a>>b); printf("%lld\n",(a&(1<<b))>0); printf("%lld\n",a&(~(1<<b))); printf("%lld\n",a|(1<<b)); printf("%lld\n",a^(1<<b)); return 0; }
- 1
信息
- ID
- 733
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 5
- 标签
- 递交数
- 157
- 已通过
- 66
- 上传者