653 - Gizilch

All about problems in Volume 6. 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
New poster
Posts: 44
Joined: Wed Aug 14, 2002 3:02 am

653 - Gizilch

Post by b3yours3lf »

I don't have any idea how to solve it.
Could someone tell me the algorithm?

Thanks in avance.

Experienced poster
Posts: 187
Joined: Wed Dec 11, 2002 2:03 pm
Location: Mount Papandayan, Garut

Post by titid_gede »

i tried using brute force, it should be work, but WA in 0.2 Sec. i'm not sure whether the upper limit, since it is possible the upper limit 100!. or perhaps there are special cases, i do not know.

with love & light,

Kalo mau kaya, buat apa sekolah?

Experienced poster
Posts: 139
Joined: Wed May 18, 2011 3:04 pm

Re: 653 - Gizilch

Post by metaphysis »

I used signed int for score and got accepted.

Post Reply

Return to “Volume 6 (600-699)”