#include "testlib.h" #include #include #include #include const int MIN_N = 1; const int MAX_N = 33; const int MIN_A = 3; const int MAX_A = 35; int main(int argc, char** argv) { registerValidation(argc, argv); const int N = inf.readInt(MIN_N, MAX_N, "N"); inf.readEoln(); std::vector A(N); for (int i = 0; i < N; ++i) { A[i] = inf.readInt(MIN_A, MAX_A, "A_i"); if (i + 1 == N) { inf.readEoln(); } else { inf.readSpace(); } } inf.readEof(); std::set s2(A.begin(), A.end()); assert(s2.size() == N); std::cout << "validator" << std::endl; return 0; }