Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160610 Kevin 求圆的周长和面积 C++ Accepted 1 MS 272 KB 208 2026-09-24 19:14:43

Tests(1/1):


Code:

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