ho_t2.cpp: In function 'int main()':
ho_t2.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int i = 0; i < SStr.size(); i++) {
| ~~^~~~~~~~~~~~~
ho_t2.cpp:35:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int L = 0; L < S.size(); L++) {
| ~~^~~~~~~~~~
ho_t2.cpp:50:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | while (R + 1 != S.size() && usefulChars[k].size() < K) {
| ~~~~~~^~~~~~~~~~~
ho_t2.cpp:50:63: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
50 | while (R + 1 != S.size() && usefulChars[k].size() < K) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~
ho_t2.cpp:53:46: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | if (usefulChars[S[R]].size() == K) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
ho_t2.cpp:58:39: warning: comparison of integer expressions of different signedness: 'std::deque<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
58 | if (usefulChars[k].size() < K) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~