0_0_39112235_2371.cpp:12:6: error: variable or field 'dfs' declared void
12 | void dfs(bitset<MAXT> &st,int now){
| ^~~
0_0_39112235_2371.cpp:12:10: error: 'bitset' was not declared in this scope
12 | void dfs(bitset<MAXT> &st,int now){
| ^~~~~~
0_0_39112235_2371.cpp:6:1: note: 'std::bitset' is defined in header '<bitset>'; did you forget to '#include <bitset>'?
5 | #include<set>
+++ |+#include <bitset>
6 | using namespace std;
0_0_39112235_2371.cpp:12:24: error: 'st' was not declared in this scope; did you mean 'std'?
12 | void dfs(bitset<MAXT> &st,int now){
| ^~
| std
0_0_39112235_2371.cpp:12:27: error: expected primary-expression before 'int'
12 | void dfs(bitset<MAXT> &st,int now){
| ^~~
0_0_39112235_2371.cpp: In function 'int main()':
0_0_39112235_2371.cpp:45:37: error: expected ';' before ')' token
45 | for(int j=1;j<=n,++j){
| ^
| ;
0_0_39112235_2371.cpp:47:45: error: 'a' was not declared in this scope
47 | scanf("%d",&a[i][j]);
| ^
0_0_39112235_2371.cpp:50:17: error: 'memset' was not declared in this scope
50 | memset(h,0,sizeof(h));
| ^~~~~~
0_0_39112235_2371.cpp:6:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
5 | #include<set>
+++ |+#include <cstring>
6 | using namespace std;
0_0_39112235_2371.cpp:52:17: error: 'st' was not declared in this scope; did you mean 'std'?
52 | st.reset();
| ^~
| std
0_0_39112235_2371.cpp:54:17: error: 'dfs' was not declared in this scope
54 | dfs(st,0);
| ^~~
|