Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:那位大牛能解释这个问题,俩个非常相似的程序,一个ac(0ms),一个tle!!!

Posted by sunshine_0316 at 2009-03-07 10:43:03 on Problem 1942
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator