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:跪求各位大牛解释WA

Posted by csuchenan at 2013-01-18 09:45:36 on Problem 2774
In Reply To:Re:跪求各位大牛解释WA Posted by:xieofyu at 2012-09-25 11:40:46
> 
> 乘法有溢出,改成if((long long )(sa[i] - na) * (sa[i-1] - na) < 0) 就可以过了

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