islands.cpp: In function 'bool dfs(int, vi&)':
islands.cpp:4:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forR(i, x) for(int i = 0; i < (x); ++i)
| ^
islands.cpp:21:5: note: in expansion of macro 'forR'
21 | forR(i, nStk.size()) if(nStk[i] == c) sInd = i;
| ^~~~
islands.cpp:5:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define REP(i, a, b) for(int i = (a); i < (b); ++i)
| ^
islands.cpp:23:5: note: in expansion of macro 'REP'
23 | REP(i, sInd, eStk.size()) ans.push_back(eStk[i]);
| ^~~
islands.cpp:5:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define REP(i, a, b) for(int i = (a); i < (b); ++i)
| ^
islands.cpp:24:5: note: in expansion of macro 'REP'
24 | REP(i, sInd, eStk.size()) ans.push_back(eStk[i] ^ 1);
| ^~~