Блог пользователя live_like_simple

Автор live_like_simple, история, 3 года назад, По-английски

you are given a number of easy, medium, and hard questions.also given the totalnumber of qns to be framed. following condition to be withheld while solving: medium qns always greater than easy and hard no two question-level should be consecutive. atleast one qns of every level must be there.

input like N,E,M,H 4 2 3 3

output : total combination would be 4 e m h m , h m e m , m e m h, m h m e

i don't know to approach this qns. thanks in advance!

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится