Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115858 | 翁思宸 | 11大象喝水 | C++ | Compile Error | 0 MS | 0 KB | 200 | 2025-04-05 12:24:20 |
#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:33: error: 'volume' was not declared in this scope int num_buckets = ceil(20000 / volume); ^