#include#include #include using namespace std;struct Point{ double x,r,x1,x2; int visit;}p[10000];bool cmp(struct Point a,struct Point b){ return a.x1 >n; for(int i=0;i >m>>len>>wid; double x,r; for(int j=0;j >x>>r; p[j].x=x; p[j].r=r; if(r<=wid/2) {p[j].visit=0;continue;} else { double d=sqrt(r*r-wid*wid/4); p[j].x1=x-d; p[j].x2=x+d; p[j].visit=1; } } sort(p,p+m,cmp); int a=0,b=0; int k=0; for(int j=0;j =len) break; } } } if(a<=0&&b>=len) cout< <