Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
156956 孟建宇 04球的体积 C++ Compile Error 0 MS 0 KB 343 2026-07-11 18:34:48

Tests(0/0):


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(){ doublb pi=3.1415926,n; cin>>n; printf("%.4lf",4.0/3*pi*n*n*n); return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:4: error: 'doublb' was not declared in this scope
    doublb pi=3.1415926,n;
    ^
Main.cc:9:9: error: 'n' was not declared in this scope
    cin>>n;
         ^
Main.cc:10:25: error: 'pi' was not declared in this scope
    printf("%.4lf",4.0/3*pi*n*n*n);
                         ^