fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int l;
  6. cin>>l;
  7. double p=3.14;
  8. double r=l/(2*p);
  9. double S=p*(r*r);
  10. cout<<S;
  11. return 0;
  12. }
Success #stdin #stdout 0s 4236KB
stdin
1
stdout
0.0796178