Page 1 of 1

12024 - Hats

Posted: Thu May 26, 2011 7:53 pm
by Najmuzzaman
Have any tricky
I think it is a normal Number theory.

But i get WA

Re: 12024

Posted: Tue May 31, 2011 12:17 pm
by robot
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)

12024 - Hats

Posted: Sat Jul 30, 2011 9:54 am
by amin__
need some i/o...can anyone help me???

Re: 12024

Posted: Sun Aug 07, 2011 9:56 pm
by Mehadi
try this I/O. generating output by my Acc code.
Input :

Code: Select all

3
11
12
6
Output :

Code: Select all

14684570/39916800
176214841/479001600
265/720
Hope this will help you.

Re: 12024

Posted: Mon Aug 08, 2011 12:40 am
by naseef_07cuet
Can you please explain the De arrangement theorem....please

Re: 12024

Posted: Mon Oct 17, 2011 9:30 am
by anis_cuet016