Problem in a DFS Solution

Правка en1, от skpro19, 2017-09-26 06:36:09

The question is 459C.

I have understood the logic behind it. But, in order to generate the possible permutations, I am using DFS.

My submission

It gives a WA on test 7, saying that my code prints ":". But, I am not printing ":" anywhere in my code.

Any help would be really appreciated.

Теги dfs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский skpro19 2017-09-26 06:36:09 433 Initial revision (published)