dreamed专题

my dreamed cards

I read the the card from my fr`s album,its amazing, really like.

【BZOJ 3659】 3659: Which Dreamed It (Matrix-TreeBEST theorem )

3659: Which Dreamed It Time Limit: 20 Sec  Memory Limit: 1024 MBSubmit: 134  Solved: 41 Description 有n个房间,每个房间有若干把钥匙能够打开特定房间的门。 你会做这么件事情: 最初你在房间1。 每当你到达一个房间,你可以选择该房间的一把钥匙,前往该钥匙对 应的房间,并将该钥匙丢到垃