Sorry for the crappy title, I am kinda new to posting on here. I am trying to solve a problem from one of Google’s kickstart competitions in C++.
My plan was to have