#define _GLIBCXX_DEBUG #include using namespace std; using ll = int64_t; using Vll =vector; using VVll =vector>; template using Vec = vector; template using VVec = vector>; void Z(ll i=-1){ if(i==-1)cout<<"Test"< void VVcout(VVec A){ for(auto Vi:A) { for(auto i:Vi)cout< void Vcout(Vec A){ for(auto i:A) cout< void chmax(T &x,T y){if(x void chmin(T &x,T y){if(x==-1 || x>y) x=y;} #define rep(i,n) for(ll i=0;i>a>>b; ams.at(i)={a,b}; } Vll cm; if(crt(ams,cm))cout<