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 |
Java写的超时的,把除法换成移位试试用随机数测了下时间,规模100 000,除法和移位都120毫秒左右;规模1 000 000,除法1200毫秒,移位900毫秒。这一点差别就导致了我第一次提交超时,换成移位后通过 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator