odasiljaci.cpp: In function 'void Dfs(int)':
odasiljaci.cpp:13:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for (int i=0; i<v[x].size(); i++) {
| ~^~~~~~~~~~~~
odasiljaci.cpp: At global scope:
odasiljaci.cpp:34:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
34 | main () {
| ^
odasiljaci.cpp: In function 'int main()':
odasiljaci.cpp:49:13: warning: format '%f' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
49 | printf("%.7f",res);
| ~~~^ ~~~
| | |
| | long double
| double
| %.7Lf