Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
95577 | 陈家渝 | 04圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 328 | 2024-10-29 21:07:03 |
#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,b; cin>>a>>b; cout<<3.1415926*(r*r)*h; return 0; }
Main.cc: In function 'int main()': Main.cc:10:22: error: 'r' was not declared in this scope cout<<3.1415926*(r*r)*h; ^ Main.cc:10:27: error: 'h' was not declared in this scope cout<<3.1415926*(r*r)*h; ^