0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 20:36:28 +00:00
OI-codes/Luogu/B2029/B2029.cpp

22 lines
301 B
C++

#include <iostream>
#include <cmath>
using std::cin;
using std::cout;
const char endl = '\n';
const double pi = acos(-1);
int h, r;
int main() {
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
cin >> h >> r;
cout << ceil(20000.0 / (pi * r * r * h)) << endl;
return 0;
}