You are not logged in. Please login at www.codechef.com to post your questions!

×

Help in solving "Counting permutations" problem from hackerearth?

Anyone please help me in solving THIS PROBLME based on counting no. of permutations.

NOTE :

Please don't propose the dp (coin change) problem, I have already solved it using that, I suspect there might be some trick to solve this question.

asked 22 Jul '17, 16:19

arpit728's gravatar image

2★arpit728
6831251
accept rate: 10%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×1,617
×365
×118
×18

question asked: 22 Jul '17, 16:19

question was seen: 302 times

last updated: 23 Jul '17, 09:26