978 - Lemmings Battle!

All about problems in Volume 9. 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
helloneo
Guru
Posts: 516
Joined: Mon Jul 04, 2005 6:30 am
Location: Seoul, Korea

978 - Lemmings Battle!

Post by helloneo » Mon Jun 11, 2007 4:51 pm

Hello..~
With my poor english, I don't clearly understand this problem..
What is the correct answer for this input..?

Code: Select all

1
3 2 5
100
1
1
1
1
1
1
Thanks.. :-)

User avatar
sohel
Guru
Posts: 856
Joined: Thu Jan 30, 2003 5:50 am
Location: New York

Post by sohel » Mon Jun 11, 2007 6:35 pm

Code: Select all

green wins
96

helloneo
Guru
Posts: 516
Joined: Mon Jul 04, 2005 6:30 am
Location: Seoul, Korea

Post by helloneo » Fri Jun 15, 2007 6:57 pm

Thanks..~
I got it ACed.. :-)

RedGreenCode
New poster
Posts: 7
Joined: Wed May 13, 2015 3:41 am
Location: Seattle, WA, USA
Contact:

Re: 978 - Lemmings Battle!

Post by RedGreenCode » Sun Nov 08, 2015 3:04 am

I used this problem to try out the idea of using test-drive development for writing competitive programming solutions. If you're interested, or just want more information on solving this problem, I wrote up my results here: http://www.redgreencode.com/solving-uva ... nit-tests/
Deliberate practice techniques for software developers -- http://www.redgreencode.com/

Post Reply

Return to “Volume 9 (900-999)”