eolymp
bolt
Try our new interface for solving problems
Problems

Circle

published at 2/22/22, 7:01:32 pm

pi = 3.141592653589793

published at 4/20/24, 6:39:14 pm

include <bits/stdc++.h>

using namespace std; int main () { double p,r; cin>>r; p=3.14159265; double l,s; l=2pr; s=pow(r,2)*p; cout.precision(4); cout<<fixed<<l<<' '<<s;

} //by Galata_ing