11551 - Experienced Endeavour

All about problems in Volume 115. 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
ani_mitr86
New poster
Posts: 20
Joined: Mon May 28, 2007 4:36 pm
Location: India

11551 - Experienced Endeavour

Post by ani_mitr86 »

I think that there is a mistake in the second image. The subscript of the last number should be i, x(i-1) and not i, x(i). I hope some admin notices this and fix the mistake. I don't know where else to report this so I am posting this here.
Robert Gerbicz
Experienced poster
Posts: 196
Joined: Wed May 02, 2007 10:12 pm
Location: Hungary, Pest county, Halasztelek
Contact:

Re: 11551 - Experienced Endeavour (for admin - a mistake)

Post by Robert Gerbicz »

The whole image is dirty and small, magnifying doesn't help. Guessing the problem took me more time than solving it on the contest.
azk84
New poster
Posts: 14
Joined: Sat Sep 13, 2008 7:50 pm
Location: Tehran
Contact:

Re: 11551 - Experienced Endeavour (for admin - a mistake)

Post by azk84 »

I'm getting TLE. My aproach is simply calculating sum R times. Can somebody give some hints plz? I don't know another solution for this problem.
lyhung
New poster
Posts: 7
Joined: Tue Oct 28, 2008 7:20 am

Re: 11551 - Experienced Endeavour (for admin - a mistake)

Post by lyhung »

Try to convert the problem into result = a^r; Find that in ln(r).
azk84
New poster
Posts: 14
Joined: Sat Sep 13, 2008 7:50 pm
Location: Tehran
Contact:

Re: 11551 - Experienced Endeavour (for admin - a mistake)

Post by azk84 »

Thanks lyhung. You said to convert problem to A^r, so I tried to think different and I think I can use n*n matrix A that contains 1 & 0 (for given sum rules), and multiply A^r into original numbers, but I don't know how to compute A^r efficiently (instead of multiplying A into itself r times). Plz give me some more hint. Maybe I haven't understood your previous hint at all :oops:.
BTW, sorry for my very bad English :wink:
azk84
New poster
Posts: 14
Joined: Sat Sep 13, 2008 7:50 pm
Location: Tehran
Contact:

Re: 11551 - Experienced Endeavour (for admin - a mistake)

Post by azk84 »

Finally accepted with time 0.100 :lol:. Special thanX to lyhung :wink:
Post Reply

Return to “Volume 115 (11500-11599)”