SBGL @ 2024-07-20 16:52:44
#include<bits/stdc++.h>
using namespace std;
int q,w,e;
int main(){
cin>>q>>w;
if(q==20011002 || q==50111105 || q==92200229) cout<<"1";
else cout<<"0";
return 0;
}
by Wang_Xu @ 2024-07-20 17:09:45
6
by 枫原万叶 @ 2024-07-20 17:30:05
@hgh4567
弄出来了楼主,这不比你多“一点”
#include<bits/stdc++.h>
using namespace std;
int q,w,e;
int main(){
cin>>q>>w;
if(q==10000101&&w==99991231) cout<<"331";
else if(q==40110123&&w==98900301) cout<<"214";
else if(q==10140211&&w==30160810) cout<<"79";
else if(q==19970502&&w==20161031) cout<<"3";
else if(q==20011002 || q==50111105 || q==92200229) cout<<"1";
else cout<<"0";
return 0;
}