#include #include "testlib.h" using namespace std; using ll=long long; const int MIN_T=1; const int MAX_T=10'000; const ll MIN_V=0; const ll MAX_V=1'000'000'000'000'000'000; const ll MIN_A=2; const ll MAX_A=1'000'000'000'000'000'000; int main(int argc,char** argv){ registerValidation(argc,argv); int T=inf.readInt(MIN_T,MAX_T); inf.readEoln(); for(int i=0;i