Timus 1208. Legendary Teams Contest

Revision en2, by Jynx, 2018-06-25 16:04:20

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 ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Jynx 2018-06-25 16:04:20 53 Tiny change: 'I got AC o' -> 'http://acm.timus.ru/problem.aspx?space=1&num=1208\n\nI got AC o'
en1 English Jynx 2018-06-25 16:03:30 150 Initial revision (published)