#include "testlib.h" #include #include const int MIN_N = 1; const int MAX_N = 200000; const int MIN_M = 1; const int MAX_M = 200000; int main(int argc, char** argv) { registerValidation(argc, argv); const int n = inf.readInt(MIN_N, MAX_N, "N"); inf.readSpace(); const int m = inf.readInt(MIN_M, MAX_M, "M"); inf.readEoln(); for (int i = 0; i < m; ++i) { const int a = inf.readInt(-1, n); assert(a == -1 || (1 <= a && a <= n)); if (i + 1 == m) { inf.readEoln(); } else { inf.readSpace(); } } inf.readEof(); std::cout << "validator" << std::endl; return 0; }