Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104851 | 胡诗瑶 | 04圆的面积 | C++ | Wrong Answer | 1 MS | 276 KB | 371 | 2025-01-11 16:34:54 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int r; double p=3.1415926; cin>>r; printf("%.2f",p*r*r); //cout<<p*r*r<<endl; return 0; }
------Input------
43.2
------Answer-----
5862.97
------Your output-----
5808.80