Need help in a problem.

Правка en3, от 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.

Теги #help, #problem

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский 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 Английский rocww 2020-06-12 07:31:35 8
en1 Английский rocww 2020-06-12 07:30:40 454 Initial revision (published)