ho_t2.cpp: In function 'int main()':
ho_t2.cpp:13:8: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | v[c[i]].push_back(i);
| ~~~^
ho_t2.cpp:24:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if (l >= v['J'].size()) continue;
| ~~^~~~~~~~~~~~~~~~
ho_t2.cpp:33:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if (l >= v['O'].size()) continue;
| ~~^~~~~~~~~~~~~~~~
ho_t2.cpp:42:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if (l >= v['I'].size()) continue;
| ~~^~~~~~~~~~~~~~~~