Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147807 于墨轩 找路径 C++ Wrong Answer 0 MS 268 KB 353 2026-02-07 22:53:29

Tests(0/4):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int x,y; cin>>x>>y; if(x==0) { if(y==1) cout<<"winner:1"; else cout<<"winner:2"; } else if(x==1) { if(y==2) cout<<"winner:1"; else cout<<"winner:2"; } else { if(y==0) cout<<"winner:1"; else cout<<"winner:2"; } return 0; }


Run Info:

------Input------
20 20
------Answer-----
985525432
------Your output-----
winner:2