foo.cc: In function 'char whowin(int*, int*, int, int)':
foo.cc:19:11: error: 'n' was not declared in this scope
19 | retu=n;
| ^
foo.cc:22:11: error: invalid conversion from 'int*' to 'char' [-fpermissive]
22 | retu=a;
| ^
| |
| int*
foo.cc:25:11: error: invalid conversion from 'int*' to 'char' [-fpermissive]
25 | retu=b;
| ^
| |
| int*
foo.cc:33:11: error: invalid conversion from 'int*' to 'char' [-fpermissive]
33 | retu=b;
| ^
| |
| int*
foo.cc:36:11: error: 'n' was not declared in this scope
36 | retu=n;
| ^
foo.cc:39:11: error: invalid conversion from 'int*' to 'char' [-fpermissive]
39 | retu=a;
| ^
| |
| int*
foo.cc:47:11: error: invalid conversion from 'int*' to 'char' [-fpermissive]
47 | retu=a;
| ^
| |
| int*
foo.cc:50:11: error: invalid conversion from 'int*' to 'char' [-fpermissive]
50 | retu=b;
| ^
| |
| int*
foo.cc:53:11: error: 'n' was not declared in this scope
53 | retu=n;
| ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务