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:这题。。公式怎么得出来的?

Posted by tzkq at 2010-07-26 04:06:29 on Problem 1354
In Reply To:这题。。公式怎么得出来的? Posted by:Roba at 2006-11-06 16:16:03
> 一个循环的时候是(n-1)!,两个的时候怎么算?

有点问题哦 n=4时, 按照这个式子算出来的是6

实际上是9
2 1 4 3
2 3 4 1
2 4 1 3
3 1 4 2
3 4 1 2
3 4 2 1
4 1 2 3
4 3 1 2
4 3 2 1

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