Subatom's blog

By Subatom, history, 3 years ago, In English

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.com/group/MWSDmqGsZm/contest/219158/problem/Z

There is no editorial :d so that is why I am asking.

  • Vote: I like it
  • -9
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

This blog was literally written 2 days ago about the same problem -_-

  • »
    »
    3 years ago, # ^ |
      Vote: I like it +1 Vote: I do not like it

    If AB > CD print "YES" otherwise, print "NO" yeas and it had WRONG statement

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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

      • »
        »
        »
        »
        3 years ago, # ^ |
        Rev. 2   Vote: I like it +1 Vote: I do not like it

        It is the solution of the wrong problem -_("-")_- (by the way, is it wrong to ask twice?)

        • »
          »
          »
          »
          »
          3 years ago, # ^ |
            Vote: I like it +1 Vote: I do not like it

          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 :)

          • »
            »
            »
            »
            »
            »
            3 years ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            you are probably right but I don't understand why it's equal :d that was the point of this blog :D

            • »
              »
              »
              »
              »
              »
              »
              3 years ago, # ^ |
                Vote: I like it +1 Vote: I do not like it

              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)$$$