| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 4353 | A班-袁誉晏 | 划拳 | C++ | Wrong Answer | 0 | 2 MS | 256 KB | 402 | 2025-01-11 11:31:03 |
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int a,b; for(int i=1;i<=n;i++) { cin>>a>>b; if (a == b){ cout<<"DOGFALL"; } else if (a + b <= 6){ if (a > b){ cout<<"XDZ"; } else{ cout<<"YY"; } } else if (a + b > 6){ if (a<b){ cout<<"XDZ"; } else{ cout<<"YY"; } } } return 0; }