Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
5538 吴乐涵 划拳 C++ 解答错误 0 1 MS 244 KB 337 2020-08-14 11:41:17

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int main(){ int T,x,y; cin>>T; for(int i=1;i<=T;i++){ cin>>x>>y; if(x+y<=6){ if(x>y) cout<<"XDZ"; if(x<y) cout<<"YY"; if(x==y) cout<<"DOGFALL"; }else{ if(x<y) cout<<"XDZ"; if(x>y) cout<<"YY"; if(x==y) cout<<"DOGFALL"; } } return 0; }


测评信息: