Hello BHW. My college has organized an online coding event (Made using ONJ) . Participants have to solve 5 coding problems using C/C++. I got 2 right. Now, I'm struggling with the third. Winner gets $50. I wish to win this so that I can invest the money in some tools. I kindly request programmers at BHW to help me as much as possible. Here's the problem- UPDATE: Problem removed after figuring it out. I don't want to get caught cheating. BH ways forever Thanks a lot Junkfood00. If the rep system was there I would have +repped you.