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 |
这题数据好水。。。算法书上说最多在y数组中取7个点进行比较就可以了,我本来想验证下注释上说的4个点,把cnt<=7改成cnt<=4,AC了。高兴了一会,改成3,继续AC,2,还是AC.最后改成0,AC...无语 难道这题数据中的点隔得那么远么? Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator