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

用减,int就足够了

Posted by lddlinan at 2019-03-05 21:59:46 on Problem 2482
In Reply To:不知道什么原因,代码中将y的坐标变量开为long long就AC , int就WA,贴上代码大家可以拿去试试看? Posted by:2683331518 at 2019-01-27 15:57:11
用+, 当然回会溢出
0 <= y <= 0x7fffffff
0 < h < 1000000

y+h <= 0x7fffffff ?

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