net.cpp: In function 'int dfs(int, int)':
net.cpp:42:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for (int j=0;j<col.size()-1;j+=2){
| ~^~~~~~~~~~~~~
net.cpp:47:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for (int i=0;i<col.size()-1;i++){
| ~^~~~~~~~~~~~~
net.cpp:51:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | for (int j=0;j<col.size();j++){
| ~^~~~~~~~~~~
net.cpp:60:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for (int i=0;i<col.size();i++){
| ~^~~~~~~~~~~
net.cpp:65:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (int i=0;i<col.size();i++){
| ~^~~~~~~~~~~
net.cpp:70:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for (int i=0;i<col.size();i++){
| ~^~~~~~~~~~~
net.cpp:71:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for (int j=0;j<col[i].size();j++){
| ~^~~~~~~~~~~~~~
net.cpp:75:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | for (int i=0;i<make.size()-1;i+=2){
| ~^~~~~~~~~~~~~~
net.cpp:88:20: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
88 | if (z[j].size()>max){pos=j;max=z[j].size();}
| ~~~~~~~~~~~^~~~
net.cpp: In function 'int main()':
net.cpp:113:6: warning: unused variable 'res' [-Wunused-variable]
113 | int res = dfs(0,0);
| ^~~
net.cpp: In function 'void setIO(std::string)':
net.cpp:19:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | freopen((f+".in").c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net.cpp:20:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | freopen((f+".out").c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~