ho_t2.cpp: In function 'int main()':
ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'n' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
ho_t2.cpp:22:5: note: in expansion of macro 'get'
22 | get(n);
| ^~~
ho_t2.cpp:10:23: warning: unnecessary parentheses in declaration of 'k' [-Wparentheses]
10 | #define get(name) int (name); cin >> (name)
| ^
ho_t2.cpp:23:5: note: in expansion of macro 'get'
23 | get(k);
| ^~~
ho_t2.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
ho_t2.cpp:28:5: note: in expansion of macro 'forto'
28 | forto(n, i) {
| ^~~~~
ho_t2.cpp:15:35: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ^
ho_t2.cpp:37:5: note: in expansion of macro 'forto'
37 | forto(J.size() - k + 1, i) {
| ^~~~~
ho_t2.cpp:15:52: warning: comparison of integer expressions of different signedness: 'long long int' and 'long long unsigned int' [-Wsign-compare]
15 | #define forto(name, var) for (int (var) = 0; (var) < (name); (var)++)
| ~~~~~~^~~~~~~~
ho_t2.cpp:37:5: note: in expansion of macro 'forto'
37 | forto(J.size() - k + 1, i) {
| ^~~~~
ho_t2.cpp:41:18: 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]
41 | if (oind >= O.size()) continue;
| ~~~~~^~~~~~~~~~~
ho_t2.cpp:45:18: 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 (iind >= I.size()) continue;
| ~~~~~^~~~~~~~~~~