/ /

记录详情

Compile Error

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)提供评测服务

信息

递交者
类型
递交
题目
P2440 1.6.8石头剪刀布
语言
C++
递交时间
2022-01-15 12:45:12
评测时间
2022-01-15 12:45:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes