humbIefool's blog

By humbIefool, history, 3 years ago, In English

Hi codeforces, see this guy's comment 4 hours ago. And if you visit his profile ...

Screenshot-from-2021-09-11-21-01-30

Full text and comments »

  • Vote: I like it
  • +29
  • Vote: I do not like it

By humbIefool, history, 3 years ago, In English

Hello codeforces, I want your help in following permutation and combination problem.

We are given an arr of numbers and we want to find the no of ways to put all occurences of second max(arr) to left of the max(arr) and ofcourse all the numbers are different(for eg. 4 4, we can arrange these in two ways). I couldn't solve yesterday's C just because of this, so I wanna learn this now. Thanks and have a good day :)

Full text and comments »

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