Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104846 | 张瑞宇 | 03圆的面积 | C++ | Accepted | 1 MS | 264 KB | 443 | 2025-01-11 16:09:25 |
#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 a=1,b=3,c=5,d=7,e=9; double p=3.1415926; cout<<p*a*a<<endl; cout<<p*b*b<<endl; cout<<p*c*c<<endl; cout<<p*d*d<<endl; cout<<p*e*e<<endl; return 0; }