 I got this question the other day 23 hours ago from this grumpy coder apparently he says hey Mike I can't solve basic math problems on code forces like I think about it a lot And I still can't get the solution when I see the editorial they say they use a simple formula But I never can come to my head. How can I improve? Good question good question grumpy coder. Okay, so for me Personally if it's a math problem that you have very trouble to use, right? It's it's a math problem. You need to come up with a formula, right? Ideally even like basic math problems you need to come come up with a formula Generally to come up with a formula Right, there's you have to figure out some relation. Maybe it's like maybe it's a quadratic equation Maybe it's a linear equation something something occurs, right? There's a certain observation or relation between Two two corresponding numbers or something an x or y that allows you to come up with a formula to solve the problem So now what if you can't solve the problem? That's a good question. Okay, so what generally what I do is once I Try my hardest like absolute hardest like probably an hour or an hour and a half and I still can't solve the problem Let's say I still can't solve the math problem What I generally do is what I do is I end up reading the editorial Once I read the editorial, I'll look at the problem and I'm like, okay That is that is basically how they The equation that is the equation what they got. Okay, that's what happens. That's the equation. It's a math problem Yada yada yada. Okay. Now what I normally do now is I do not copy and paste the code of the equation From the math problem. I do not do that So here's what I do. All right Because generally to me when I when I when you copy and paste code in the math equation You end up not learning anything right to me You're just ending up copy and pasting the code and then you just say the number of problem These are solvers increased by one, right? But that really doesn't that doesn't help you that doesn't that that really doesn't help you at all in terms of solving problems So what do you do? Okay, once you finish reading the editorial and you have the math problem, right? And you've looked at the math formula. Here's what you do you stop what you're doing and you take a break and Whatever you do, you let let it absorb it in your head and you do something else. Maybe a day or two days Maybe yeah, maybe two days, maybe three days, right? Or or another thing go do another problem Do another problem like there maybe your problem is too hard. Do a little bit easier problem Some easier math problem, but whatever Let the editorials sink in your brain now after a day or two days come back to the problem and try to figure out the math equation yourself Sooner or later, you should be able to figure out the math equation yourself, right after forgetting the problem after completely forgetting the problem You have to try to figure out the math equation yourself If you still can't figure out the math equation yourself look at the editorial again and repeat, okay? The reason why this works is that if you let the editorials sink in and then you solve the derive the math formula yourself You're more likely to come up with the relations given another problem, right? If you just find a problem and you just copy and paste the code, it's not going to help you at all So generally what you should do is you should after reading the editorial Take a day or two forget about the problem Maybe do another problem and come back to it and then then try to solve the problem again If you still can't solve a problem read the editorial again Wait a day come back to it try coding it again And then sooner or later you're gonna figure out the math equation of how it happened how it worked, okay? So that's basically how you would improve and I think if the problem is too hard Maybe it's like I don't know. Let's say it was a problem 900 problem, right? That's a math question Maybe you should go to an 800 problem. I don't know. Maybe you maybe you should like drop down a little bit more I mean, it's up to you. But yeah, generally this is how I would do it how I solve math problems It generally helps me improve Back when I was like I was at like level 800 and now I'm level rank a thousand So it's not that much big of a jump, but it is still a jump to me before I couldn't even solve division 2a problems So now I can't solve 2a and then sometimes I could solve 2b But generally the case is that I've gotten better, but yeah, that's basically what happens to do if you can't solve a math problem I hope you guys enjoy this video right come subscribe. I'll check you guys later. Peace