#include #include int main() { double x,y; double vzdal; int hodina; long s; while (1) { scanf("%lf%lf", &x, &y); if (fabs(x)<0.01 && fabs(y)<0.01) return 0; s = 0; vzdal = sqrt(x*x+y*y); hodina=0; while (1) { s+=50; hodina++; if (sqrt(s/acos(0)) >= vzdal) { printf("The property will be flooded in hour %d.\n", hodina); break; } } } return 0; }