/in/foo.c:3:1: error: unknown type name 'using'
using namespace std;
^~~~~
/in/foo.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^~~
/in/foo.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
map <ll,bool> a;
^
/in/foo.c:6:1: error: unknown type name 'bool'
bool check(void)
^~~~
/in/foo.c:34:1: error: unknown type name 'bool'
bool dfs( int deep , int maxdeep )
^~~~
/in/foo.c: In function 'dfs':
/in/foo.c:36:5: error: 'a' undeclared (first use in this function)
a[che(deep)] = 1;
^
/in/foo.c:36:5: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:51:17: warning: implicit declaration of function 'swap' [-Wimplicit-function-declaration]
swap( s[i][j] , s[i][j+1] );
^~~~
/in/foo.c: In function 'slove':
/in/foo.c:84:9: error: 'a' undeclared (first use in this function)
a.clear();
^
/in/foo.c: In function 'main':
/in/foo.c:94:13: error: 'cin' undeclared (first use in this function)
cin >> s[i][j] ;
^~~