| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147659 | 于墨轩 | 11石头剪刀布 | C++ | Accepted | 1 MS | 276 KB | 265 | 2026-02-06 22:26:56 |
#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; }