paint.cpp: In function 'std::string solve_puzzle(std::string, std::vector<int>)':
paint.cpp:33:36: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | #define rep(i, n) for (ll i = 0; i < n; i++)
......
57 | rep(i, l.size()) {
| ~~~~~~~~~~~
paint.cpp:57:3: note: in expansion of macro 'rep'
57 | rep(i, l.size()) {
| ^~~
paint.cpp:33:36: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | #define rep(i, n) for (ll i = 0; i < n; i++)
......
62 | rep(i, s.size()) {
| ~~~~~~~~~~~
paint.cpp:62:3: note: in expansion of macro 'rep'
62 | rep(i, s.size()) {
| ^~~
paint.cpp:67:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
67 | for (int k = j; k < l.size() && i >= l[k]; k++) {
| ~~^~~~~~~~~~
paint.cpp:34:39: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | #define ffor(i, a, b) for(ll i = a; i < b; i++)
......
70 | ffor(k2, k + 1, l.size()) {
| ~~~~~~~~~~~~~~~~~~~
paint.cpp:70:11: note: in expansion of macro 'ffor'
70 | ffor(k2, k + 1, l.size()) {
| ^~~~
paint.cpp:33:36: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | #define rep(i, n) for (ll i = 0; i < n; i++)
......
95 | rep(i, l.size()) {
| ~~~~~~~~~~~
paint.cpp:95:3: note: in expansion of macro 'rep'
95 | rep(i, l.size()) {
| ^~~
paint.cpp:33:36: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | #define rep(i, n) for (ll i = 0; i < n; i++)
......
111 | rep(i, res.size()) {
| ~~~~~~~~~~~~~
paint.cpp:111:3: note: in expansion of macro 'rep'
111 | rep(i, res.size()) {
| ^~~