paint.cpp: In function 'std::vector<std::vector<long long int> > createDP(std::string, std::vector<int>)':
paint.cpp:11:36: 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:5: note: in expansion of macro 'rep'
20 | rep(i, dp.size()) {
| ^~~
paint.cpp:11:36: 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:9: note: in expansion of macro 'rep'
26 | rep(j, dp[i].size()) {
| ^~~
paint.cpp:34:23: 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:23: 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:36: 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:9: note: in expansion of macro 'rep'
38 | rep(j, dp[i].size()) {
| ^~~
paint.cpp: In function 'std::string solve_puzzles(std::string, std::vector<int>)':
paint.cpp:11:36: 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:5: note: in expansion of macro 'rep'
61 | rep(i, s.size()) {
| ^~~
paint.cpp:11:36: 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:5: note: in expansion of macro 'rep'
71 | rep(i, s.size()) {
| ^~~
paint.cpp:11:36: 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:5: note: in expansion of macro 'rep'
74 | rep(i, c.size()) {
| ^~~
paint.cpp:81:23: 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:36: 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:9: note: in expansion of macro 'rep'
84 | rep(j, dp[i].size()) {
| ^~~
paint.cpp:11:36: 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:5: note: in expansion of macro 'rep'
90 | rep(j, c.size()) {
| ^~~
paint.cpp:91: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]
91 | for (int i = 2; i < dp.size() - 2; i++) {
| ~~^~~~~~~~~~~~~~~
paint.cpp:93:21: 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:29: 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:36: 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:5: note: in expansion of macro 'rep'
104 | rep(i, canX.size()) {
| ^~~
paint.cpp:116:23: 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++) {
| ~~^~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/cchxhApy.o: in function `main':
grader.cpp:(.text.startup+0x20b): undefined reference to `solve_puzzle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status