Need help with DIV 2 B Problem
Difference between en1 and en2, changed 56 character(s)
[problem:6B]↵
I submitted this solution — [submission:69647174]↵

What I am trying to do is to start dfs starting on the first cell of the president's table.↵
If there is another table in that cell's neighbour i call the color function which is also dfs but on the deputy's table and increase the ans (res) by 1.↵

I do not know what is wrong in this approach. Can anyone help?


UPD: Solved thanks to [user:CodingKnight,2020-01-28]

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English LightYagami674 2020-01-28 18:58:30 56 Tiny change: 'yone help?' -> 'yone help?\n\nUPD: Solved thanks to [user:CodingKnight]'
en1 English LightYagami674 2020-01-28 05:39:27 415 Initial revision (published)