foo.c:1:1: error: stray '\' in program
1 | \#include <iostream>
| ^
foo.c:1:2: error: stray '#' in program
1 | \#include <iostream>
| ^
foo.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
1 | \#include <iostream>
| ^
foo.c:8:11: error: unknown type name 'node'
8 | void path(node a){
| ^~~~
foo.c: In function 'main':
foo.c:16:5: error: 'cin' undeclared (first use in this function)
16 | cin>>m>>n;
| ^~~
foo.c:16:5: note: each undeclared identifier is reported only once for each function it appears in
foo.c:48:5: error: 'cout' undeclared (first use in this function)
48 | cout<<p<<endl;
| ^~~~
foo.c:48:14: error: 'endl' undeclared (first use in this function)
48 | cout<<p<<endl;
| ^~~~
foo.c:49:5: warning: implicit declaration of function 'path' [-Wimplicit-function-declaration]
49 | path(s[m][p]);
| ^~~~
[Hydro](https://hydro.ac)提供评测服务