Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
150025 黄俊仪 11石头剪刀布 C++ Accepted 2 MS 272 KB 259 2026-03-21 16:19:43

Tests(10/10):


Code:

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