mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
11 lines
167 B
C++
11 lines
167 B
C++
#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;
|
|
}
|