sprinkler.cpp: In function 'void dfs(int, int)':
sprinkler.cpp:62:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for (i = 0; i < li[n].size(); i++)
| ~~^~~~~~~~~~~~~~
sprinkler.cpp: In function 'int main()':
sprinkler.cpp:88:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | for (j = 0; j < dl[i].size(); j++)
| ~~^~~~~~~~~~~~~~
sprinkler.cpp:121:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
121 | if (lp != dl2[j].size() && dl2[j][lp] <= en[cp])
| ~~~^~~~~~~~~~~~~~~~
sprinkler.cpp:135:12: warning: unknown conversion type character 'b' in format [-Wformat=]
135 | scanf("%b", &b);
| ^
sprinkler.cpp:135:10: warning: too many arguments for format [-Wformat-extra-args]
135 | scanf("%b", &b);
| ^~~~
sprinkler.cpp:74:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
74 | scanf("%d %d", &N, &L);
| ~~~~~^~~~~~~~~~~~~~~~~
sprinkler.cpp:79:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | scanf("%d %d", &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~
sprinkler.cpp:96:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
96 | scanf("%d", &a);
| ~~~~~^~~~~~~~~~
sprinkler.cpp:100:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
100 | scanf("%d", &Q);
| ~~~~~^~~~~~~~~~
sprinkler.cpp:104:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
104 | scanf("%d", &a);
| ~~~~~^~~~~~~~~~
sprinkler.cpp:108:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
108 | scanf("%d %d %d", &b, &c, &w);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
sprinkler.cpp:135:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
135 | scanf("%b", &b);
| ~~~~~^~~~~~~~~~