本蒟蒻做了B2029 大象喝水
结果一道入门题目做了个10分!
哪位大佬帮忙看一下?
#include<bits/stdc++.h> using namespace std; #define PI 3.1415926 double r,h; double b; int main() { cin >> r >> h; b=20000/(PI*r*r*h); cout << ceil(b); return 0; }