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
b3yours3lf
New poster
Posts: 44
Joined: Wed Aug 14, 2002 3:02 am

653 - Gizilch

Post by b3yours3lf » Sat May 31, 2003 9:47 am

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

Thanks in avance.

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

Post by titid_gede » Mon Jun 02, 2003 5:26 pm

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,

titid
Kalo mau kaya, buat apa sekolah?

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

Re: 653 - Gizilch

Post by metaphysis » Tue Jun 06, 2017 6:34 pm

I used signed int for score and got accepted.

Post Reply

Return to “Volume 6 (600-699)”