| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5695 | 欧阳漌 | 划拳 | C++ | Wrong Answer | 0 | 0 MS | 244 KB | 332 | 2020-08-14 17:19:59 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a,b; cin>>n; for(int i=1;i<=n;i++){ cin>>a>>b; if(a==b) cout<<"DOGFALL"; else{ if((a+b)<=6) { if(a>b) cout<<"XDZ"; if(b>a) cout<<"YY"; } if((a+b)>6){ if(a<b) cout<<"XDZ"; if(b<a) cout<<"YY"; } } } return 0; }