#include #include "testlib.h" using namespace std; const int MIN_T=1; const int MAX_T=50'000; const int MIN_N=3; const int MAX_N=100'000; const int MAX_S=200'000; int main(int argc,char** argv){ registerValidation(argc,argv); int T=inf.readInt(MIN_T,MAX_T); inf.readEoln(); int S=0; for(int i=0;i