标签:strong space ima include color turn mamicode name ios
思路:
运用初中知识
题解:
#include <iostream>
#include <stdio.h>
#include <math.h>
using namespace std;
double PI = acos(-1.0);
int main()
{
int a;
while (cin >> a)
{
double s;
s = a * a / (2 * PI) ;
printf ("%.3lf\n", s);
}
return 0;
}
总结:
注意 π = acos(-1.0)
标签:strong space ima include color turn mamicode name ios
原文地址:https://www.cnblogs.com/123-d/p/11180226.html