dreaming.cpp: In function 'int dfs(int)':
dreaming.cpp:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=0;i<w[x].Q.size();i+=2)
| ~^~~~~~~~~~~~~~
dreaming.cpp: In function 'void dfs2(int)':
dreaming.cpp:46:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int i=0;i<w[x].Q.size();i+=2)
| ~^~~~~~~~~~~~~~
dreaming.cpp: In function 'int dfs3(int)':
dreaming.cpp:83:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | for(int i=0;i<w[x].Q.size();i+=2)
| ~^~~~~~~~~~~~~~
dreaming.cpp: In function 'int travelTime(int, int, int, int*, int*, int*)':
dreaming.cpp:107:13: warning: unused variable 'maxx' [-Wunused-variable]
107 | int maxx=dfs(i);
| ^~~~
dreaming.cpp:124:5: error: 'sort' was not declared in this scope; did you mean 'qsort'?
124 | sort(drogi.begin(),drogi.end());
| ^~~~
| qsort
dreaming.cpp:129:27: error: request for member 'drogi' in 'wypisz', which is of non-class type 'int'
129 | wypisz=max(wypisz.drogi[drogi.size()-2]+drogi[drogi.size()-3]+2*l);
| ^~~~~
dreaming.cpp:116:9: warning: unused variable 'jeden' [-Wunused-variable]
116 | int jeden=0,dwa=0,trzy=0;
| ^~~~~
dreaming.cpp:116:17: warning: unused variable 'dwa' [-Wunused-variable]
116 | int jeden=0,dwa=0,trzy=0;
| ^~~
dreaming.cpp:116:23: warning: unused variable 'trzy' [-Wunused-variable]
116 | int jeden=0,dwa=0,trzy=0;
| ^~~~