#include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int q; cin>>q; while(q--) { int n; cin>>n; vector > v; vector > > slope; for(int i=0;i>x>>y; v.push_back(make_pair(x,y)); } //any pair which are perpendicular int c=0; for(int i=0;i