Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- using ll = long long;
- int main()
- {
- long double h, a;
- cin >> h >> a;
- a = a * 3.14159 / 180;
- long double sn = sin(a);
- long double sol = h / sn;
- cout << ceil(sol) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment