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:AC了的代码,关键部分换成了内嵌汇编,为什么总是TLE呢?In Reply To:AC了的代码,关键部分换成了内嵌汇编,为什么总是TLE呢? Posted by:mmx at 2008-10-18 13:47:53 我将你的汇编段翻译回C源码如下: while(n%prime[i] == 0){ j++; } 问题大概是因为翻译成汇编时的错误,少翻了n/=prime[i]吧^^ 就算只想除一次,也犯不着连结果的商都不要吧^^ Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator