#include #include #include #include using namespace std; int t; int main(int argc, char *argv[]) { int i,j,x,y; scanf("%d",&t); for(i=0;i