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

Output a shortest sorted sequence of moves (numbers),请问这题是求长度最短还是字典序最小的序列?

Posted by majia9 at 2009-08-08 11:35:05 on Problem 1166 and last updated at 2009-08-08 11:38:35
Output a shortest sorted sequence of moves (numbers)
请问这题是求长度最短还是字典序最小的序列?

3 2 3 
1 0 2 
3 2 3
我以为是求长度最短的,
但这组数据,答案是1 1 1 2 2 2 3 3 4 4 4 5 5 7 7 7 8 8 8 9 9
我算出了更短的1 2 2 2 4 4 4 7 8 8 8

题意到底是什么呀?

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