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