Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
8172 | 谢锦卓 | 11大象喝水 | C++ | Runtime Error | 1996 MS | 244 KB | 417 | 2025-06-14 20:34:13 |
#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=0,r,h; double v; double x=20*1000; v=3.14*r*r*h; while(x>0){ x=x-v; a++; } cout<<a<<endl; return 0; }
Runtime Error:[ERROR] A not allowed system call. Call ID:275