Keep Your Streak Going!
A young boy on brilliant had a forty nine day streak going on. Unfortunately, on day fifty, there was a power cut in his neighborhood. Determined to keep his streak alive, the boy went to an internet cafe. The owner's son (who was also the boy's schoolmate) was in charge during the time he walked in. Jealous of his friend's success in brilliant, he decided to charge the boy 30 units of currency for each problem that he solved. The boy had only 240 units of currency in his pocket and his mother wanted him back home in three hours.
The boy decided that he would challenge himself only with level 4 and level 5 problems that day. He knew that it would, on average, take him about 45 minutes to solve a level 5 problem and around 15 minutes to solve a level 4 problem. On average, level 5 problems are worth about 250 points and level 4 problems are worth about 150 points. If the boy needs to solve x level 5 questions and y problems in level 4 in order to boost up his points as much as he can, \( find \\ x+y+(maximum \quad number \quad of \quad points \quad he \quad gains \quad in \quad the \quad end)).\)
Assume that he always gets the right answer the first time (no decrease in points) and attempts only those questions that he thinks he can solve. He also doesn't waste time in between questions.