Create 1909.cpp
parent
9e8020b7d2
commit
f74609c1c5
|
@ -0,0 +1,10 @@
|
|||
#include <iostream>
|
||||
using namespace std;
|
||||
const int pi=3;
|
||||
int main()
|
||||
{
|
||||
int a,b,c,d;
|
||||
cin>>a>>b>>c>>d;
|
||||
cout<<a*pi*b*b<<" "<<c*pi*d*d/3<<endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue