Reminder: in case of any technical issues, you can use the lightweight website,, ×

Problem in a DFS Solution

Revision en1, by 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.

Tags dfs


  Rev. Lang. By When Δ Comment
en1 English skpro19 2017-09-26 06:36:09 433 Initial revision (published)