Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
19606 杨为哲 求圆的周长和面积 C++ Accepted 1 MS 804 KB 187 2021-11-16 16:12:01

Tests(1/1):


Code:

#include <bits/stdc++.h> using namespace std; int main() { float r,c,s; cin>>r; c=2*r*3.1415; s=r*r*3.1415; printf("%.2f",c); cout<<endl; printf("%.2f",s); return 0; }