#include #include #include #include using namespace std; using ll = long long; void solve(){ long double ans; for(int i=0; i<6; i++){ long double x, y; cin >> x >> y; long double theta=atan2(y, x)*45.0/atan2(1, 1); if(-5(0, theta); } } printf("%.10Lf\n", ans); } int main(void){ int t; cin >> t; while(t--) solve(); return 0; }