catinatree.cpp: In function 'void merge(std::deque<int>&, std::deque<int>&)':
catinatree.cpp:30:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for (int dist = 0; dist < v2.size(); dist++) {
| ~~~~~^~~~~~~~~~~
catinatree.cpp:37:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if (counterdist < v1.size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~
catinatree.cpp:40:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if (counterdist < v2.size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~
catinatree.cpp:45:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::deque<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int dist = 0; dist < v2.size(); dist++) {
| ~~~~~^~~~~~~~~~~
catinatree.cpp: In function 'int main()':
catinatree.cpp:76:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
76 | scanf("%d %d", &N, &D);
| ~~~~~^~~~~~~~~~~~~~~~~
catinatree.cpp:83:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
83 | scanf("%d", &p);
| ~~~~~^~~~~~~~~~