Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
5866 李伟和 求圆的周长和面积 C++ Accepted 0 MS 256 KB 170 2024-12-20 15:37:52

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ double a,b=3.1415; cin>>a; cout<<fixed<<setprecision(2)<<a*b*2<<endl; cout<<pow(a,2)*b; return 0; }