#include #include #include using namespace std; struct Tree { double L,R; Tree():L(0),R(0){} }; const int maxn=6; int n,vis[1< tree[1<