Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
6007 | 张志鹏 | 划拳 | C++ | Wrong Answer | 0 | 0 MS | 244 KB | 357 | 2020-08-23 18:43:19 |
#include<bits/stdc++.h> using namespace std; int n,a,b; int main(){ cin>>n; for(int i=1;i<=n;i++){ cin>>a>>b; if(a+b<6){ if(a>b) cout<<"XDZ"<<endl; else cout<<"YY"<<endl; continue; } if(a+b>6){ if(a<b) cout<<"XDZ"<<endl; else cout<<"YY"<<endl; continue; } if(a==b) cout<<"DOGFALL"<<endl; } return 0; }