/* 入力 validation。WA なら OK。 */ #include "testlib.h" #include using namespace std; using ll = long long; const ll Nmin = 2, Nmax = 200000; const ll Hmin = 1, Hmax = 1000000000; const ll Tmin = 1, Tmax = 1000000000; const ll Qmin = 1, Qmax = 200000; int main(){ registerValidation(); ll N = inf.readLong(Nmin,Nmax); inf.readEoln(); for (int i=0; i