#include<stdio.h> int main() { int n,i; while(scanf("%d %d",&n,&i)!=EOF) { if((n&i)==i)//这里&是按位与运算符 printf("1\n"); else printf("0\n"); } return 0; }
(1+x)^n
猜你喜欢
转载自www.cnblogs.com/zzjam--1/p/11355049.html
今日推荐
周排行