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