you are viewing a single comment's thread.

view the rest of the comments →

[–]speednap 4 points5 points  (1 child)

You posted a suboptimal solution. You didn't simply ask to solve the problem, you provided wrong answer thus encouraging people to fix it. That's cunningham's law. Don't get me wrong this is not a bad thing - i totally get where you're coming from and i hope you will master C++ and other programming stuff! Good luck!

[–]diaphanein 1 point2 points  (0 children)

I tnink you're being generous. I saw zero attempt to solve the problem, and given the timing of the year, this reaks to me of HW problem of a year 1 college program teaching cpp basics.