DFS solution as an alternative for Set solution

Revision en1, by orlon., 2018-03-10 23:23:06

Hi guys! I was wondering if this problem:- https://www.codechef.com/problems/BITMASK4 can be solved using DFS within the time constraints. Any help will be appreciated. Thanks you!

Tags dfs, dsu, dfs and similar, codechef

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English orlon. 2018-03-10 23:23:06 227 Initial revision (published)