#include <math.h> #include <stdio.h> #define Pi 3.14 int main(void) { int h,r,all,op=0,num; scanf("%d %d",&h,&r); all=Pi*h*r*r; if(10000%all)op=1; num=10000/all+op; printf("%d\n",num); }
#include <math.h> #include <stdio.h> #define Pi 3.14 int main(void) { int h,r,all,op=0,num; scanf("%d %d",&h,&r); all=Pi*h*r*r; if(10000%all)op=1; num=10000/all+op; printf("%d\n",num); }