Land is in one side of coasting, sea in the other.
#include#include#include#include#includeusingnamespacestd;structframe{doublex;doubley;}c[1001];structrange{doublel,r;}g[1001];boolcmp(rangea,rangeb){returna.ld||dg[i].r)m=g[i].r;}printf("Case%d:%d\n",