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:排序规则究竟应该是什么样的?x升序y升序可以,x降序y降序也可以,x降序y升序就不行

Posted by jiajiawang at 2016-08-08 20:45:12 on Problem 3067
In Reply To:排序规则究竟应该是什么样的?x升序y升序可以,x降序y降序也可以,x降序y升序就不行 Posted by:jiajiawang at 2016-08-08 20:39:09
懂了,因为共点不算相交,如果当N相等的时候时候,如果把M小的放前面,计算他后面那个N值相等的点的时候,前面M比他小错误的加上了1,所以当N相等的时候必须按M从大到小的安放!

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