| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 139748 | ztx | 11大象喝水 | C++ | Compile Error | 0 MS | 0 KB | 365 | 2025-12-08 17:18:15 |
#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 h,r,s,a; cin>>h>>r; s=(3.14*r)*(3.14*r)*h/(20*1000)+2; cout<<int(s); return 0;
Main.cc: In function 'int main()':
Main.cc:7:17: warning: unused variable 'a' [-Wunused-variable]
double h,r,s,a;
^
Main.cc:11:12: error: expected '}' at end of input
return 0;
^