提交时间:2020-08-14 17:28:00

运行 ID: 5701

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; for(int i=1;i>=a;i++){ if(a<=6&&b<=6){ if(a>b)cout<<"DXZ"; else cout<<"YY"; if(a=b) cout<<"DOGFALL"; } if(a>6&&b>6){ if(a<b)cout<<"DXY"; else cout<<"YY"; if(a=b)cout<<"DOGFALL"; } return 0; }