Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:对于这组输入应该输出1In Reply To:对于这组输入应该输出1 Posted by:Sky_Line at 2010-09-28 18:38:43 > 5 > 1 2 3 4 5 > 很明显输出应该是0,不需要继续置换了,但是需要输出1才能过~ 4 1 5 2 3 2 4 3 1 5 1 2 5 4 3 4 1 3 2 5 2 4 5 1 3 1 2 3 4 5 样例中只需要变5次,但输出包含了 1 2 3 4 5 ,所以输出6 对于 5 1 2 3 4 5 应该是输出1 也就是 1 2 3 4 5 这组 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator