museum.cpp: In function 'std::vector<int> cb(std::vector<int>&, std::vector<int>&, int)':
museum.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++)
......
29 | fi(i, 1, P.size() - 1) fi(j, 0, Q.size() - 1) {
| ~~~~~~~~~~~~~~~~~~
museum.cpp:29:5: note: in expansion of macro 'fi'
29 | fi(i, 1, P.size() - 1) fi(j, 0, Q.size() - 1) {
| ^~
museum.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++)
......
29 | fi(i, 1, P.size() - 1) fi(j, 0, Q.size() - 1) {
| ~~~~~~~~~~~~~~~~~~
museum.cpp:29:28: note: in expansion of macro 'fi'
29 | fi(i, 1, P.size() - 1) fi(j, 0, Q.size() - 1) {
| ^~
museum.cpp: In function 'std::vector<int> Min(std::vector<int>&, std::vector<int>&)':
museum.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++)
......
37 | fi(i, 0, P.size() - 1) ans[i] = min(P[i], Q[i]);
| ~~~~~~~~~~~~~~~~~~
museum.cpp:37:5: note: in expansion of macro 'fi'
37 | fi(i, 0, P.size() - 1) ans[i] = min(P[i], Q[i]);
| ^~
museum.cpp: In function 'int main()':
museum.cpp:79:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | freopen(Neco".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
museum.cpp:80:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
80 | freopen(Neco".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~