paint.cpp: In function 'std::vector<std::vector<long long int> > createDP(std::string, std::vector<int>)':
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
20 | rep(i, dp.size()) {
| ~~~~~~~~~~~~
paint.cpp:20:9: note: in expansion of macro 'rep'
20 | rep(i, dp.size()) {
| ^~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
26 | rep(j, dp[i].size()) {
| ~~~~~~~~~~~~~~~
paint.cpp:26:13: note: in expansion of macro 'rep'
26 | rep(j, dp[i].size()) {
| ^~~
paint.cpp:34:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for (int i = 1; i < dp[0].size(); i++) {
| ~~^~~~~~~~~~~~~~
paint.cpp:37:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int i = 1; i < dp.size(); i++) {
| ~~^~~~~~~~~~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
38 | rep(j, dp[i].size()) {
| ~~~~~~~~~~~~~~~
paint.cpp:38:13: note: in expansion of macro 'rep'
38 | rep(j, dp[i].size()) {
| ^~~
paint.cpp: In function 'std::string solve_puzzle(std::string, std::vector<int>)':
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
61 | rep(i, s.size()) {
| ~~~~~~~~~~~
paint.cpp:61:9: note: in expansion of macro 'rep'
61 | rep(i, s.size()) {
| ^~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
71 | rep(i, s.size()) {
| ~~~~~~~~~~~
paint.cpp:71:9: note: in expansion of macro 'rep'
71 | rep(i, s.size()) {
| ^~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
74 | rep(i, c.size()) {
| ~~~~~~~~~~~
paint.cpp:74:9: note: in expansion of macro 'rep'
74 | rep(i, c.size()) {
| ^~~
paint.cpp:81:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | for (int i = 1; i < dp.size() - 1; i++) {
| ~~^~~~~~~~~~~~~~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
84 | rep(j, dp[i].size()) {
| ~~~~~~~~~~~~~~~
paint.cpp:84:13: note: in expansion of macro 'rep'
84 | rep(j, dp[i].size()) {
| ^~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
90 | rep(j, c.size()) {
| ~~~~~~~~~~~
paint.cpp:90:9: note: in expansion of macro 'rep'
90 | rep(j, c.size()) {
| ^~~
paint.cpp:91:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for (int i = 2; i < dp.size() - 2; i++) {
| ~~^~~~~~~~~~~~~~~
paint.cpp:93:25: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
93 | if (end >= s.size()) continue;
| ~~~~^~~~~~~~~~~
paint.cpp:95:33: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
95 | if (end + 2 > dp.size() - 1) continue;
| ~~~~~~~~^~~~~~~~~~~~~~~
paint.cpp:11:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | #define rep(i, n) for(int i = 0; i < n; i++)
......
104 | rep(i, canX.size()) {
| ~~~~~~~~~~~~~~
paint.cpp:104:9: note: in expansion of macro 'rep'
104 | rep(i, canX.size()) {
| ^~~
paint.cpp:116:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for (int i = 2; i < dp.size() - 2; i++) {
| ~~^~~~~~~~~~~~~~~