/* validation */ #include #include "testlib.h" using ll = long long; const ll min_n = 1, max_n = 2000; const ll min_val = 1, max_val = 500; int main() { registerValidation(); ll n = inf.readLong(min_n, max_n); inf.readEoln(); ll h = inf.readLong(min_val, max_val); inf.readEoln(); for(int i = 0; i < n; i++) { inf.readLong(min_val, max_val); inf.readSpace(); inf.readLong(min_val, max_val); inf.readEoln(); } inf.readEof(); return 0; }