Need help in a problem.

Revision en3, by rocww, 2020-06-12 07:32:08

Problem

My submission

I was able to solve the problem. The problem has a condition that no element can be bigger than 7. I am trying to figure out if there is a solution for the problem when we don't have this condition. if we take the testcase :-

6

1 1 2 4 5 25

It's not possible to solve the problem by my method now.

Tags #help, #problem

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English rocww 2020-06-12 07:32:08 2 Tiny change: '2 4 5 25\nIt's not' -> '2 4 5 25\n\nIt's not'
en2 English rocww 2020-06-12 07:31:35 8
en1 English rocww 2020-06-12 07:30:40 454 Initial revision (published)