Jynx's blog

By Jynx, history, 5 months ago, In English,

http://acm.timus.ru/problem.aspx?space=1&num=1208

I got AC on this problem with a naive k*(2^k) solution .

Is there any other way to solve it using graph theory ?

 
 
 
 
  • Vote: I like it  
  • -11
  • Vote: I do not like it