T3000

Untitled

Mar 16th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4. using ll = long long;
  5.  
  6. int main()
  7. {
  8.     long double h, a;
  9.     cin >> h >> a;
  10.  
  11.     long double sn = sin(a);
  12.  
  13.     long double sol = h / sn;
  14.  
  15.     cout << ll(sol) << endl;
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment