naboj.cpp: In function 'int main()':
naboj.cpp:37:16: warning: comparison of integer expressions of different signedness: 'std::set<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
37 | if(st.size() < n/2 || st.size() == n) {
| ~~~~~~~~~~^~~~~
naboj.cpp:37:35: warning: comparison of integer expressions of different signedness: 'std::set<long long int>::size_type' {aka 'long unsigned int'} and 'long long int' [-Wsign-compare]
37 | if(st.size() < n/2 || st.size() == n) {
| ~~~~~~~~~~^~~~
naboj.cpp:13:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | #define FOR(m,i,n) for(int i=(m); i<=(n); i++)
| ^
naboj.cpp:41:3: note: in expansion of macro 'FOR'
41 | FOR(1,i,v.size()-1) {
| ^~~
naboj.cpp:13:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | #define FOR(m,i,n) for(int i=(m); i<=(n); i++)
| ^
naboj.cpp:49:3: note: in expansion of macro 'FOR'
49 | FOR(1,i,v.size()-1) {
| ^~~