| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5687 | 张佳杰 | 划拳 | C++ | Accepted | 100 | 1 MS | 248 KB | 377 | 2020-08-14 17:11:10 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a; for(int i=1;i<=a;i++){ cin>>b>>c; if(b+c<=6){ if(b<c) cout<<"YY"<<endl; if(b>c) cout<<"XDZ"<<endl; if(b==c) cout<<"DOGFALL"<<endl; } if(b+c>6){ if(b<c) cout<<"XDZ"<<endl; if(b>c) cout<<"YY"<<endl; if(b==c) cout<<"DOGFALL"<<endl; } } return 0; }