#include using namespace std; using ll = long long; #define FOR(i,a,b) for(ll i=(a);i<(b);++i) #define ALL(v) (v).begin(), (v).end() #define p(s) cout<<(s)<> T; FOR(t, 0, T){ double max_x = 0; double max_y = 0; FOR(i, 0, 6){ double x, y; cin >> x >> y; y += 0.000000000001; // y += 0.0000001; if(y>0){ if(x > max_x){ max_x = x; max_y = y; } } } double angle = f(max_x, max_y); cout << setprecision(20); p(angle); } return 0; }