| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145938 | 张奕杨 | 11石头剪刀布 | C++ | Accepted | 0 MS | 272 KB | 276 | 2026-01-25 19:46:13 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; switch(a-b){ case -1: case 2: cout<<"winner:1";break; case 1: case -2: cout<<"winner:2";break; } return 0; }