#include #include #include #include #include #include #include #include #include using namespace std; void solve(){ vector x(6); vector y(6); vector theta(6); for(int i=0; i<6; i++){ cin >> x[i] >> y[i]; theta[i] = atan2( y[i], x[i] ); } sort(theta.begin(), theta.end()); double ans = *upper_bound(theta.begin(), theta.end(), 0) - atan2(0, 1); double PI = atan2l(1e-18,-1); printf("%.12f\n", ans*180/PI); } int main(){ int T; cin >> T; for(int t=0; t