zigzag.cpp: In function 'int main()':
zigzag.cpp:37:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int j = 0; j < s[i].size(); j++) s[i]++;
| ~~^~~~~~~~~~~~~
zigzag.cpp:37:49: error: no 'operator++(int)' declared for postfix '++' [-fpermissive]
37 | for(int j = 0; j < s[i].size(); j++) s[i]++;
| ~~~~^~
zigzag.cpp:41:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
41 | while(s[i].size() < maxim){
| ~~~~~~~~~~~~^~~~~~~
zigzag.cpp:66:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if(indice[ind] == v[0][ind].size()) indice[ind] = 0;
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~