Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- #define ll long long
- #define INF 1000000007
- #define EPS 0.00000000000001
- #define f first
- #define s second
- using namespace std;
- int main(){
- ll x,y;
- cin>>x>>y;
- double A=y*log(x);
- double B=x*log(y);
- if(abs(A-B) < EPS){
- cout<<"="<<endl;
- }else if(A>B)
- cout<<">"<<endl;
- else if(A<B)
- cout<<"<"<<endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment