One guy a days ago wrote a post about problem. He wrote wrong statement so I was interested in real problem.
I can't do it by myself can someone help?
problem link-- https://codeforces.net/group/MWSDmqGsZm/contest/219158/problem/Z
There is no editorial :d so that is why I am asking.
This blog was literally written 2 days ago about the same problem -_-
If AB > CD print "YES" otherwise, print "NO" yeas and it had WRONG statement
Most probably he was unable to use the '^' sign (idk why), but he linked the same problem. And this comment was the intended solution for the problem you linked to. So, I don't understand the point of writing this blog
It is the solution of the wrong problem -_("-")_- (by the way, is it wrong to ask twice?)
Bruh, are you kidding me. It is the solution to the right problem lmao dude. A^B > C^D. Take log both sides, since logarithm is an increasing function (base > 1), inequality remains the same and hence B * log(A) > D * log(C). That's what this comment was all about. It seems like you misunderstood my comments and hence the rebel inside you started to ask about your "asking rights". Chill dude, you can ask as many times as you want and someone will definitely help you out :)
you are probably right but I don't understand why it's equal :d that was the point of this blog :D
Because its basic prop of logarithm: $$$log(a^b) = b * log(a)$$$
So $$$a^b > c^d \Leftrightarrow log(a^b) > log(c^d) \Leftrightarrow b * log(a) > d * log(d)$$$