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:我的思路有什么问题

Posted by gdczcpy at 2011-02-06 14:03:31 on Problem 2159
In Reply To:我的思路有什么问题 Posted by:I08690109 at 2010-09-06 23:49:00
> 先将两个数组a[],b[]从小到大排序,再step=a[0]-b[0]
> 然后将a数组中所有数据都减去step,然后比较两个数组是否相等 是yes 否no 这样wa了 哪里有问题呢?

AB
CD
YES

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