提交时间:2020-08-14 11:41:17
运行 ID: 5538
#include<bits/stdc++.h> using namespace std; int main(){ int T,x,y; cin>>T; for(int i=1;i<=T;i++){ cin>>x>>y; if(x+y<=6){ if(x>y) cout<<"XDZ"; if(x<y) cout<<"YY"; if(x==y) cout<<"DOGFALL"; }else{ if(x<y) cout<<"XDZ"; if(x>y) cout<<"YY"; if(x==y) cout<<"DOGFALL"; } } return 0; }