| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5611 | 季洁 | 划拳 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 333 | 2020-08-14 15:16:59 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,a,b; cin>>n; while(n){ cin>>a>>b; if(a==b) cout<<"DOGFALL"; else{ if(a+b<=6){ if(a<b) cout<<"YY"<<endl; else cout<<"XDZ"<<endl; } if(a+b>6){ if(a<b) cout<<"XDZ"<<endl; else cout<<"YY"<<endl; } } n--; } }