I\'ve been working on this hackerrank problem all day and narrowed down the issue to this. I have no idea why this is happening.
Original Code:
#include &l