3836 - Computers

Problems from South Eastern Europe regional contest

Moderator: Board moderators

3836 - Computers

Postby helloneo » Wed Dec 12, 2007 5:04 pm

Hello..~
I can't understand this problem..
Can anybody explain the sample input..?

input:

Code: Select all
3
3
5 7 50
6 8
10


output:

Code: Select all
19


Thanks.. :-)
helloneo
Experienced poster
 
Posts: 48
Joined: Mon Jul 04, 2005 5:30 am
Location: Seoul, Korea

Postby Arne » Wed Dec 19, 2007 2:28 pm

The maintenance cost is given "summed up". E.g., in the sample input, the cost of owning the second computer for one year is 6 and for two years is 8 (not 6 + 8).

The optimal solution to the sample case then consists of buying a new computer in the first and second year which leads to a cost of 3 + 5 for the first year and 3 + 8 for the second and third year.

Don't worry if you didn't get it at first sight, I also had to have someone explain it to me.
Arne
Experienced poster
 
Posts: 36
Joined: Tue Oct 24, 2006 10:09 am

Postby helloneo » Wed Dec 19, 2007 2:46 pm

Ah.. Now I get it..
Thanks a lot.. :-)
helloneo
Experienced poster
 
Posts: 48
Joined: Mon Jul 04, 2005 5:30 am
Location: Seoul, Korea

Re: 3836 - Computers

Postby ardyhikl » Thu Jun 28, 2012 11:45 am

Those 78 meters grow of black carrera ray ban sale double of arms, unexpectedly will a great deal of of Liu Zhi Tiao directly separate kind to two sides.Carter's orchid I then in a twinkling flee to go out, those thin gold color Liu Zhi Tiao immediately wrap up that black arm, black arm moment just like noodles similar, moment from the in great quantities thin gold color Liu Zhi Tiao break out of. "Like, the lord does enough hard!"Carter orchid station at be apart from willow king probably rice place, just along other willows rounded 1 to trap, at the time of carrera ray ban wayfarers rounding a turn, appeared a silver grey color javelin in the Carter's orchid hand.
ardyhikl
New poster
 
Posts: 10
Joined: Thu Jun 28, 2012 9:12 am


Return to South Eastern

Who is online

Users browsing this forum: No registered users and 1 guest

cron