Memory limit c++ (need help)
Recently I was trying to solve a problem and I keep getting Memory Limit. here is my solution. Help me figure out why I am getting Memory Limit.