#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; double max_y; FOR(i, 0, 6){ double x, y; y += 0.000000000001; cin >> x >> y; 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; }