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:怎么二分会Tle呢???和3104不是一样可以用二分吗???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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator