A.(c1=0&&c3>0)||(c1!=c4)
1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #include<iostream> 5 #define rep(i,l,r) for (int i=(l); i<=(r); i++) 6 typedef long long ll; 7 using namespace std; 8 9 int c1,c2,c3,c4; 10 11 int main(){ 12 freopen("a.in","r",stdin); 13 freopen("a.out","w",stdout); 14 scanf("%d%d%d%d",&c1,&c2,&c3,&c4); 15 if ((!c1 && c3) || c1!=c4) puts("0"); else puts("1"); 16 return 0; 17 }