A POI12 problem

Revision en1, by EternalFire, 2018-07-15 10:09:54

https://szkopul.edu.pl/problemset/problem/eC-cABL-jWd4JdZDmfWufeeQ/site/?key=statement

I think this problem can be solved using graph matching. But I am stuck when trying to create such graph.

Could anyone help me ? Thanks.

Sorry for bad English

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English EternalFire 2018-07-15 10:09:54 269 Initial revision (published)