There are N coding questions and the score for Ith question must be in the range of 1 to N(inclusive). All the coding questions follow one rule that higher the score higher is difficulty level. Now Tom is trying to assign the score to each question in a sorted difficulty order such that 1st question is of least difficulty level and Nth question is of most difficulty level. And it is also possible that more than one question can have equal score.
wants the sum of the sum of any
As a responsible student of class Tom wants that any student who will get more ACCEPTED answers should rank higher. This means that for any value of M, Tom scores of any M questions should be strictly less in comparison to
M + 1 questions.
Now Tom is thinking of how many possible ways are there which holds above mentioned condition, so that he can assign score.
1
Expert's answer
2020-06-24T04:51:57-0400
Dear Mariya, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment