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(0ms),一个tle!!!In Reply To:那位大牛能解释这个问题,俩个非常相似的程序,一个ac(0ms),一个tle!!! Posted by:2004huangyimin at 2006-04-25 14:08:21 m越界了吧,你com中的参数m是输入的m+n,要是输入的n=2^64-1 m=2^64-1你m+n就越界了,此时m很小,m-n为负,总之举例子好好想想吧 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator