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 |
Re:从TLE到打表AC,再到500ms以下AC,我的天啊(一点借鉴!)In Reply To:从TLE到打表AC,再到500ms以下AC,我的天啊(一点借鉴!) Posted by:luohuashui at 2009-08-12 19:00:44 > 在要用到记录许可的时候 > 一定要定义bool型,否则花费的时间很很多 > 开头用int型记录的许可,TLE了 > 之后无奈了一个下午,把一个最麻烦的数据(20000个13)给打表了,AC了,412k 579ms > 最后看了室友的程序,突发奇想,把许可用bool型来接受,A了, 372k 469ms fff Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator