avatar
Untitled

Guest 12 4th Nov, 2019

MARKUP 0.36 KB
                                           
                         #include<iostream>
#include<cmath>
using namespace std;
double a,b,r;
int main(){
    cin>>a;

    b=a*7;
    r=sqrt(b/M_PI);
    cout <<fixed;
    cout.precision(0);
    if(2*M_PI*r>209 && 2*M_PI*r<210)
        cout<<2*M_PI*r-1;
    else
        cout<<2*M_PI*r;

//a*7=3.14*r*r


return 0;
}
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data