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
北京大学《ACM/ICPC大学生程序设计竞赛训练》暑期课面向全球招生!

随便做了几组

Posted by xfxyjwf at 2006-03-26 10:41:27 on Problem 1091
In Reply To:这是不是一个排列数的问题啊! Posted by:xiaoyonghutiger at 2006-03-26 09:43:54
in:
5 5
10 5
10 10
10 82804561
8 11643874
6 86356531
7 37268187
4 78413345
2 50821481
10 69038497
9 36541407
4 11987481
6 87762993
out:
3124
9765624
9990233352
15154534085010488105462707280326645747887275925295632098698540307485040424960000
336573710783294488472605773995005871191092934274334720000
414735421200896639418464654914434425935240642560
99808887333810668824376715010971944104821314196641600
37745439504725108347052359680000
2582448011164224
2459876367497558969926896003206373096835632237203578987051792043977454355940800
116156980490353795559165162728213692707862640674243224175819846390000
20393277622539360151495680000
456323029332615806309576943801248055014221473792

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