IOI07_04 - Editorial

PROBLEM LINKS:

Practice
Contest

DIFFICULTY:

Easy-Medium

PREREQUISITES:

Dynamic Programming

SOLUTION:`

http://www.hsin.hr/ioi2007/tasks/solutions.pdf Page 24.

EDITORIALIST’S SOLUTION:

Can be found here.