Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
6684 侯宜辰 04球的体积 C++ Accepted 0 MS 260 KB 363 2025-03-08 20:56:18

Tests(10/10):


Code:

#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(){ double r,s; scanf("%lf",&r); s=4.0/3*3.1415926*r*r*r; printf("%.4lf\n",s); return 0; }