joi2019_ho_t3.cpp: In function 'int main()':
joi2019_ho_t3.cpp:46:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for(int i = 0; i <= ind[0].size(); i ++) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:47:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int j = 0; j <= ind[1].size(); j ++) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:48:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for(int k = 0; k <= ind[2].size(); k ++) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:58:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(int i = 0; i <= ind[0].size(); i ++) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:59:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int j = 0; j <= ind[1].size(); j ++) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:60:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for(int k = 0; k <= ind[2].size(); k ++) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:63:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | if(last != 0 && i != ind[0].size()) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:68:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
68 | if(last != 1 && j != ind[1].size()) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:73:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | if(last != 2 && k != ind[2].size()) {
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp: In function 'int getCode(char)':
joi2019_ho_t3.cpp:29:1: warning: control reaches end of non-void function [-Wreturn-type]
29 | }
| ^