| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 | 
|---|---|---|---|---|---|---|---|---|
| 119107 | 罗睿妍 | 11石头剪刀布 | C++ | Compile Error | 0 MS | 0 KB | 336 | 2025-05-15 18:24:05 | 
#include <iostream> using namespace std; int main() { int a,b; cin>>a,b; if{ (a==0&&b==1)|| (a==1&&b==2)|| (a==2&&b==0); cout<<"winner:1"<<endl; else (a==0&&b==2)|| (a==1&&b==0)|| (a==2&&b==1); cout<<"winner:2"<<endl; } return 0; }
Main.cc:2:1: error: stray '\357' in program
 using namespace std;
 ^
Main.cc:2:1: error: stray '\274' in program
Main.cc:2:1: error: stray '\233' in program
Main.cc:3:1: error: expected ';' before 'int'
 int  main()
 ^
Main.cc: In function 'int main()':
Main.cc:6:13: warning: right operand of comma operator has no effect [-Wunused-value]
     cin>>a,b;
             ^
Main.cc:7:7: error: expected '(' before '{' token
     if{
       ^