Sereja and permutation explaination

Can anyone explain me the output for CodeChef: Practical coding for everyone . How are we getting the permutations?

1 Like

Sorry but this is a question from on-going contest. no help of any kind can be provided.if this help it took me 3 hours to understand the question.good luck

5 Likes

It does not affect the rules and regulations of codechef, if I ask for input and output explanation. Am I right? So please help me understanding the output for the above problem.

People, please help ! Thanks in advance !

everyone taking part gets equal help :slight_smile: it takes some time to understand the question .
everyone has to go through that phase before we start to code it . Good Luck

2 Likes