delete pics to save space
This commit is contained in:
14
history_source/信息学奥赛一本通/1.2.3.4.cpp
Normal file
14
history_source/信息学奥赛一本通/1.2.3.4.cpp
Normal file
@ -0,0 +1,14 @@
|
||||
#include<cstdio>
|
||||
#define pi 3.1415926535897
|
||||
using namespace std;
|
||||
int main()
|
||||
{
|
||||
double r,c,d,s;
|
||||
scanf("%lf",&r);
|
||||
c=r*pi;
|
||||
d=r*2;
|
||||
s=r*r*pi;
|
||||
printf("%.4lf %.4lf %.4lf\n",d,c,s);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user