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:对input的数据集不大懂~求解释

Posted by ligun123 at 2013-04-11 16:30:48 on Problem 1037
In Reply To:对input的数据集不大懂~求解释 Posted by:ligun123 at 2013-04-11 16:11:32
> Sample Input
> 
> 2
> 2 1
> 3 3
> Sample Output
> 
> 1 2
> 2 3 1
> 
> 第一个数是N,第二个数是C
> N是长度,C能代表啥?对理解题意有啥作用?
> 我英语不咋个好,请教各位了~!

N说明有1~N个长度单位的木板
C是第C个围栏
 这一句是怎么理解的呢?
Fence A (represented by the permutation a1, . . . , aN) is in the catalogue before fence B (represented by b1, . . . , bN) if and only if there exists such i, that (any j < i) aj = bj and (ai < bi).

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