catinatree.cpp: In function 'std::vector<int> cb(const std::vector<int>&, const std::vector<int>&)':
catinatree.cpp:12:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define fi(i, a, b) for(int i = a; i <= b; i++)
......
28 | fi(i, 0, a.size() - 1) fi(j, 0, b.size() - 1) {
| ~~~~~~~~~~~~~~~~~~
catinatree.cpp:28:5: note: in expansion of macro 'fi'
28 | fi(i, 0, a.size() - 1) fi(j, 0, b.size() - 1) {
| ^~
catinatree.cpp:12:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define fi(i, a, b) for(int i = a; i <= b; i++)
......
28 | fi(i, 0, a.size() - 1) fi(j, 0, b.size() - 1) {
| ~~~~~~~~~~~~~~~~~~
catinatree.cpp:28:28: note: in expansion of macro 'fi'
28 | fi(i, 0, a.size() - 1) fi(j, 0, b.size() - 1) {
| ^~
catinatree.cpp:12:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define fi(i, a, b) for(int i = a; i <= b; i++)
......
31 | fi(i, 0, b.size() - 1) ans[i] = max(ans[i], b[i]);
| ~~~~~~~~~~~~~~~~~~
catinatree.cpp:31:5: note: in expansion of macro 'fi'
31 | fi(i, 0, b.size() - 1) ans[i] = max(ans[i], b[i]);
| ^~
catinatree.cpp:12:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | #define fi(i, a, b) for(int i = a; i <= b; i++)
......
32 | fi(i, 0, a.size() - 1) ans[i] = max(ans[i], a[i]);
| ~~~~~~~~~~~~~~~~~~
catinatree.cpp:32:5: note: in expansion of macro 'fi'
32 | fi(i, 0, a.size() - 1) ans[i] = max(ans[i], a[i]);
| ^~
catinatree.cpp: In function 'int main()':
catinatree.cpp:71:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
71 | freopen(Neco".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
catinatree.cpp:72:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
72 | freopen(Neco".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~