Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
115858 翁思宸 11大象喝水 C++ Compile Error 0 MS 0 KB 200 2025-04-05 12:24:20

Tests(0/0):


Code:

#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; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:33: error: 'volume' was not declared in this scope
  int num_buckets = ceil(20000 / volume);  
                                 ^