Compile Error

foo.cc: In function 'int main()':
foo.cc:16:8: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   16 |  mov(n,"1","2","1","3","1","2","1","4",'A','C','B');
      |        ^~~
      |        |
      |        const char*
foo.cc:16:12: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   16 |  mov(n,"1","2","1","3","1","2","1","4",'A','C','B');
      |            ^~~
      |            |
      |            const char*
foo.cc:16:16: error: invalid conversion from 'const char*' to 'char' [-fpermissive]
   16 |  mov(n,"1","2","1","3","1","2","1","4",'A','C','B');
      |                ^~~
      |                |
      |                const char*
foo.cc:16:51: error: too many arguments to function 'void mov(int, char, char, char)'
   16 |  mov(n,"1","2","1","3","1","2","1","4",'A','C','B');
      |                                                   ^
foo.cc:4:6: note: declared here
    4 | void mov(int n,char A,char C,char B)
      |      ^~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1082 Hanoi(汉诺塔)问题
语言
C++
递交时间
2022-08-04 16:11:22
评测时间
2022-08-04 16:11:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes