Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
肯定是要反向建图的,很容易构造出反例证明直接贪心是错的。另外,如果用邻接表可以不判重。顺便赞一下STL真好用!In Reply To:不需要逆向。。。尼玛只要判重就够了 Posted by:HermioneS at 2012-02-25 23:23:00 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator