http://ioi2007.hsin.hr/tasks/day2/training.pdf
I was wondering if anyone is familiar with a problem that is similar to this one or is based on related ideas.
IOI 2007 — Training
http://ioi2007.hsin.hr/tasks/day2/training.pdf
I was wondering if anyone is familiar with a problem that is similar to this one or is based on related ideas.