// NOTE: it is recommended to use this even if you don't understand the // following code. #include #include #include using namespace std; int main() { // uncomment the following lines if you want to read/write from files // ifstream cin("input.txt"); // ofstream cout("output.txt"); int T; cin >> T; for (int t = 0; t < T; ++t) { int N, Q; cin >> N >> Q; vector P(N), L(Q); for (int i = 0; i < N; i++) { cin >> P[i]; } for (int i = 0; i < Q; i++) { cin >> L[i]; } // insert your code here bool hacker = false; // print the result if (hacker) { cout << "HACKER" << endl; } else { cout << "OK" << endl; } } }