| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 6120 | asdfghjkl123456789 | 划拳 | C++ | Accepted | 100 | 0 MS | 256 KB | 341 | 2020-08-23 19:51:32 |
#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<<"XDZ"<<endl; else cout<<"YY"<<endl; } } } return 0; }