Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
6118 asdfghjkl123456789 划拳 C++ Wrong Answer 0 0 MS 244 KB 341 2020-08-23 19:50:42

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; for(;a>0;a--){ int x,y; cin>>x>>y; if(x==y) cout<<"DOGFALL"<<endl; else{ if(x+y<=6){ if(x>y) cout<<"XDZ"<<endl; else cout<<"YY"<<endl; }else{ if(x<y) cout<<"YY"<<endl; else cout<<"XDZ"<<endl; } } } return 0; }


Judgement Protocol: