colored array

tested for more than 100 cases…my code is correct…but its not accepting on the judge…
plz give special case…or any hint …

1 Like

From the contest rules:

Please do not discuss strategy, suggestions or tips in the comments during a live contest.

The same applies to this (or any other) forum. This is a competition.

1 Like
//