toy.cpp: In function 'int main()':
toy.cpp:5:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(i,a,b) for (int i = (a); i <= (b); i++)
| ^
toy.cpp:39:5: note: in expansion of macro 'rep'
39 | rep(i,0,res.size()-2) if (res[i] == res[i+1]) total--;
| ^~~
toy.cpp:5:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define rep(i,a,b) for (int i = (a); i <= (b); i++)
| ^
toy.cpp:42:5: note: in expansion of macro 'rep'
42 | rep(i,0,res.size()-2) if (res[i] != res[i+1]) cout << res[i] << ' ';
| ^~~