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

思路就是 1转化区间 2对右值排序 3往后扫描 if(当前左值大于开始的右值 ) {数量++; 右值交换 } sort函数的第二个参数要明白

Posted by fnq9999 at 2018-08-28 07:56:33 on Problem 1328 and last updated at 2018-08-28 07:57:36


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