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:怎么二分会Tle呢???和3104不是一样可以用二分吗???

Posted by hanjialong at 2008-09-21 21:44:46 on Problem 3232
In Reply To:Re:怎么二分会Tle呢???和3104不是一样可以用二分吗??? Posted by:suth at 2007-07-16 01:24:05
co-thank!!!!!!!!!

> 注意:
> 1.用太多__int64会tle的..
> 2.如果temp=m*x中m和x都是int而temp是__int64的话,m*x乘积会超出int,
>   但没有转换过去,所以最好用__int64强制类型转换.如temp=(__int64)m*x
> 呜 呜....这两点让我tle和wa了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