| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 5674 | lizhengqian2008 | 画三角 | C++ | Wrong Answer | 0 | 0 MS | 248 KB | 343 | 2020-08-14 17:06:14 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,a; cin>>a; for(int i=1;i<=a;i++){ cin>>n>>m; if(n==m){ cout<<"DOGFALL"; continue; } if(n+m<=6){ if(n>m){ cout<<"XDZ"; } else cout<<"YY"; } else{ if(n<m){ cout<<"XDZ"; } else cout<<"YY"; } } return 0; }