Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104544 | 陈铎文 | 11大象喝水 | C++ | Compile Error | 0 MS | 0 KB | 192 | 2025-01-05 12:40:22 |
#include <iostream> #include <cmath> using namespace std; int main() { int h, r; cin >> h >> r; int num_buckets = ceil(20000 / volume); cout << num_buckets << endl; return 0; }
Main.cc: In function 'int main()': Main.cc:7:32: error: 'volume' was not declared in this scope int num_buckets = ceil(20000 / volume); ^