Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115004 | 何旻慧 | 04球的体积 | C++ | Compile Error | 0 MS | 0 KB | 331 | 2025-03-26 19:18:55 |
#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; cin>>r; printf("%.4lf",4/3*π*R*r*r); return 0; }
Main.cc:10:5: error: stray '\317' in program printf("%.4lf",4/3*π*R*r*r); ^ Main.cc:10:5: error: stray '\200' in program Main.cc: In function 'int main()': Main.cc:10:27: error: 'R' was not declared in this scope printf("%.4lf",4/3*π*R*r*r); ^