mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-30 21:36:27 +00:00
22 lines
301 B
C++
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;
|
||
|
}
|