0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-05 02:26:26 +00:00
OI-codes/Luogu/B2029/B2029.cpp

22 lines
301 B
C++
Raw Normal View History

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