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:69:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | 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++)
......
72 | ffor(k2, k + 1, l.size()) {
| ~~~~~~~~~~~~~~~~~~~
paint.cpp:72:11: note: in expansion of macro 'ffor'
72 | 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::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | #define rep(i, n) for (ll i = 0; i < n; i++)
......
100 | rep(i, s.size()) {
| ~~~~~~~~~~~
paint.cpp:100:3: note: in expansion of macro 'rep'
100 | rep(i, s.size()) {
| ^~~
paint.cpp:106:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | if (j < l.size() - 1 && l[j + 1] <= i) {
| ~~^~~~~~~~~~~~~~
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++)
......
111 | ffor(k2, j + 1, l.size()) {
| ~~~~~~~~~~~~~~~~~~~
paint.cpp:111:9: note: in expansion of macro 'ffor'
111 | ffor(k2, j + 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++)
......
137 | rep(i, l.size()) {
| ~~~~~~~~~~~
paint.cpp:137:3: note: in expansion of macro 'rep'
137 | 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++)
......
153 | rep(i, res.size()) {
| ~~~~~~~~~~~~~
paint.cpp:153:3: note: in expansion of macro 'rep'
153 | rep(i, res.size()) {
| ^~~