avatar
Untitled

Guest 11 4th Nov, 2019

MARKUP 0.39 KB
                                           
                         #include<iostream>
#include<cmath>
#include<stdio.h>
#include<math.h>
using namespace std;
int main(){
int a,b;
double r;
cin>>a;

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

cout<<2*M_PI*r;


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