How would you go about tackling this problem? [SOLVED in C++]
- by incrediman
Intro:
EDIT: See solution at the bottom of this question (c++)
I have a programming contest coming up in about half a week, and I've been prepping :)
I found a bunch of questions from this canadian competition, they're great practice:
http://cemc.math.uwaterloo.ca/contests/computing/2009/stage2/day1.pdf
I'm looking at problem B ("Dinner").
…