| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74760 | 文 | 11石头剪刀布 | C++ | Wrong Answer | 1 MS | 276 KB | 249 | 2024-05-26 00:13:39 |
#include<iostream> using namespace std; /** * OJ-1303 */ int main(){ int a, b; cin>>a>>b; // 0 石头 1 剪刀 2 布 if((a==0&&b==1) || (a==1&&b==2)) cout<<"winner:1"<<endl; else cout<<"winner:2"<<endl; return 0; }
------Input------
2 0
------Answer-----
winner:1
------Your output-----
winner:2