提交时间:2023-01-12 15:51:02

运行 ID: 4607

#include <iostream> using namespace std; int main() { double h, r; cin >> h >> r; int result = 20 / (3.14 * r * h) int yushu = 20 % (3.14 * r * h) if (yushu != 0) { cout << (result + 1) << endl; } else { cout << result << endl; } return 0; }