library.cpp: In function 'void go(int)':
library.cpp:18:12: error: could not convert 'std::find<__gnu_cxx::__normal_iterator<int*, std::vector<int> >, int>(susedi[i].std::vector<int>::begin(), susedi[i].std::vector<int>::end(), idx)' from '__gnu_cxx::__normal_iterator<int*, std::vector<int> >' to 'bool'
18 | if(find(susedi[i].begin(),susedi[i].end(),idx))continue;
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| __gnu_cxx::__normal_iterator<int*, std::vector<int> >
library.cpp:19:33: error: 'sused' was not declared in this scope; did you mean 'susedi'?
19 | if(find(susedi[idx].begin(),sused[idx].end(),i))continue;
| ^~~~~
| susedi
library.cpp:24:36: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
24 | int lo = 0,hi=all.size()-1,mid=lo+hi>>1,r=-1;
| ~~^~~
library.cpp:37:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
37 | mid=lo+hi>>1;
| ~~^~~