Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
5530 孙浩楠 划拳 C++ Wrong Answer 0 0 MS 244 KB 314 2020-08-14 11:38:20

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ int T,Y=0,X=0,i,j; cin>>T; for(i=1;i<=T;i++){ cin>>X>>Y; if(Y+X<6&&Y!=X){ if(Y<X) cout<<"XDZ"; else cout<<"YY"; } if(Y+X>6&&Y!=X){ if(Y<X) cout<<"YY"; else cout<<"XDZ"; } if(Y==X) cout<<"DOGFALL"; } return 0; }


Judgement Protocol: