ho_t2.cpp: In function 'int main()':
ho_t2.cpp:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for (int i = k - 1; i < a.size(); i++) {
| ~~^~~~~~~~~~
ho_t2.cpp:34:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | while (j < b.size() && pref[b[j]] - pref[a[i]] < k) j++;
| ~~^~~~~~~~~~
ho_t2.cpp:35:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if (j == b.size()) continue;
| ~~^~~~~~~~~~~
ho_t2.cpp:36:58: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if (pref[b[j]] - pref[a[i]] >= k && b.size() - j >= k) smin(ans, b[j + k - 1] - a[i - k + 1] + 1 - 3 * k);
| ~~~~~~~~~~~~~^~~~
ho_t2.cpp:26:10: warning: variable 'Get' set but not used [-Wunused-but-set-variable]
26 | auto Get = [&] (int l, int r) {
| ^~~