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 |
AC了,来说说我对题意的理解这道题就是说每种代表车型的串,他们的distance就是串中不同字符的个数,要求算出所有串的distance's 最小 sum ; 看题看了老半天,其实就是个最小生成树,一次AC,虽然mem 和 time 都大的不行,但lenght还是排在第一 hehe Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator