Have any tricky
I think it is a normal Number theory.
But i get WA
12024 - Hats
Moderator: Board moderators
Re: 12024
Hi Naj..
This problem actually based on Dearagement theorem...so u have to little study in this topics..
I think u know , the number of n things are arrange in n! if the n things are not arrange in their own position what have you done? .....
ASU(SUST)
This problem actually based on Dearagement theorem...so u have to little study in this topics..
I think u know , the number of n things are arrange in n! if the n things are not arrange in their own position what have you done? .....

ASU(SUST)
12024 - Hats
need some i/o...can anyone help me???
Re: 12024
try this I/O. generating output by my Acc code.
Input :
Output :
Hope this will help you.
Input :
Code: Select all
3
11
12
6
Code: Select all
14684570/39916800
176214841/479001600
265/720
-
- Learning poster
- Posts: 62
- Joined: Sat Nov 21, 2009 10:17 pm
- Location: CUET,Chittagong,Bangladesh
Re: 12024
Can you please explain the De arrangement theorem....please
If you have determination, you can do anything you want....

-
- New poster
- Posts: 15
- Joined: Thu Jul 08, 2010 8:28 am