Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
105003 | 叶又铭 | 03圆的面积 | C++ | Accepted | 1 MS | 268 KB | 446 | 2025-01-11 20:49:34 |
#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; int s=3; int d=5; int f=7; int g=9; float h=3.1415926; cout<<a*a*h<<endl << s*s*h<<endl << d*d*h<<endl << f*f*h<<endl << g*g*h<<endl; return 0; }