foo.cc: In function 'int main()':
foo.cc:5:7: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
5 | scanf(a,b);
| ^
| |
| int
In file included from /nix/store/h5kvfrjmpw792v8jg7nrzfkffmn0iyy8-gcc-12.3.0/include/c++/12.3.0/cstdio:42,
from stdc++.h:46:
/nix/store/y8wfrgk7br5rfz4221lfb9v8w3n0cnyd-glibc-2.37-8-dev/include/stdio.h:421:42: note: initializing argument 1 of 'int scanf(const char*, ...)'
421 | extern int scanf (const char *__restrict __format, ...) __wur;
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
foo.cc:6:10: error: '\U0000ff0c' was not declared in this scope
6 | cout<<a<<,<<b;
| ^~
[Hydro](https://hydro.ac)提供评测服务