12024 - Hats

All about problems in Volume 120. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

Post Reply
Najmuzzaman
New poster
Posts: 3
Joined: Mon May 23, 2011 1:44 pm

12024 - Hats

Post by Najmuzzaman »

Have any tricky
I think it is a normal Number theory.

But i get WA

robot
New poster
Posts: 29
Joined: Sun May 24, 2009 8:39 pm

Re: 12024

Post 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)

amin__
New poster
Posts: 10
Joined: Thu Jul 01, 2010 10:44 am

12024 - Hats

Post by amin__ »

need some i/o...can anyone help me???

Mehadi
New poster
Posts: 18
Joined: Sun Jan 24, 2010 11:17 am

Re: 12024

Post 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.

naseef_07cuet
Learning poster
Posts: 62
Joined: Sat Nov 21, 2009 10:17 pm
Location: CUET,Chittagong,Bangladesh

Re: 12024

Post by naseef_07cuet »

Can you please explain the De arrangement theorem....please
If you have determination, you can do anything you want....:)

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

Re: 12024

Post by anis_cuet016 »


Post Reply

Return to “Volume 120 (12000-12099)”