Advertisement
amine99

Untitled

May 29th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.71 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. #define io ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
  4. #define ALL(x) x.begin(),x.end()
  5. #define SZ(x) x.size()
  6. #define PB push_back
  7. #define MP make_pair
  8. #define F first
  9. #define S second
  10. typedef long long LL;
  11. typedef vector<int> VI;
  12. typedef pair<int,int> PI;
  13.  
  14. int a,b;
  15.  
  16. int main() {
  17.    io;
  18.    cin >> a >> b;
  19.    if(a == 2 && b == 3)
  20.       return 0*puts("<");
  21.    if(b == 3 && b == 2)
  22.       return 0*puts(">");
  23.    if(log(a)/a == log(b)/b || a == b)
  24.       return 0*puts("=");
  25.    if(a == 1)
  26.       return 0*puts("<");
  27.    if(b == 1)
  28.       return 0*puts(">");
  29.    if(a > b)
  30.       return 0*puts("<");
  31.    if(b > a)
  32.       return 0*puts(">");
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement