ajains's blog

By ajains, history, 7 years ago, In English
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
7 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

It is because you have used ">=" in the comparator.
Same code without ">=" in comparator.link
Although not accepted but not giving runtime error

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

    can't we use it?

    • »
      »
      »
      7 years ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      and how to deal when both values are equal I guess it is giving the wrong answer because both values are equal