#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> T; while(T--){ double ax,ay,bx,by,cx,cy; cin >> ax >> ay >> bx >> by >> cx >> cy; double a=acos(ax/sqrt(ax*ax+ay*ay)); double b=acos(bx/sqrt(bx*bx+by*by)); double c=acos(cx/sqrt(cx*cx+cy*cy)); if(abs(a+b-c)