ho_t2.cpp: In function 'int32_t main()':
ho_t2.cpp:31:8: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if (K > js.size()) {
| ~~^~~~~~~~~~~
ho_t2.cpp:36:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
36 | for (int i = 0; i <= js.size() - K; i++) {
| ~~^~~~~~~~~~~~~~~~
ho_t2.cpp:45:11: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if (off >= os.size() or os.size() - off < K) continue;
| ~~~~^~~~~~~~~~~~
ho_t2.cpp:45:43: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
45 | if (off >= os.size() or os.size() - off < K) continue;
| ~~~~~~~~~~~~~~~~^~~
ho_t2.cpp:53:12: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | if (off2 >= is.size() or is.size() - off2 < K) continue;
| ~~~~~^~~~~~~~~~~~
ho_t2.cpp:53:45: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long long int' [-Wsign-compare]
53 | if (off2 >= is.size() or is.size() - off2 < K) continue;
| ~~~~~~~~~~~~~~~~~^~~