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 |
随便yy个贪心居然过了,但是很慢,但是用了79ms,很弱,求快的。我就是从上往下,从左往右贪心的去变化颜色。于是复杂度是O(n*m*r*c)事实上不会达到这个上界,于是水过去了。。。 求快方法 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator