 What's up guys, so today I am not going to do a live stream because tomorrow I have to wake up early in order to do the adcoder contest, you know, I'm trying to do the adcoder contest. So this video is actually going to be about the ceiling function. So this is what I learned during one of the contests. Here's the thing. Okay, so let's say we have n and we read in from the user, right? And now then I wanted to get the ceiling of n over like x or something or yeah, so let's say I read in n and I read in x, right? I don't want to get the ceiling of n over x, okay? So normally you could do this just by calling the ceiling function, right? You just call the ceiling function and I'm actually going to convert this into a float because why not? So yeah, this would give you the ceiling of n over x, okay, right? Now, so like if I do like, let's see if I do, let's say I do like 6 divided by 4, right? 6 divided by 4 should give me about 1, oh no wait, what's 6 over 4? 6 over 4 is 6 over 4 is 6 over 4, oh it should give me 2, it should give me 2, yeah, it should give me 2, yeah, because if you go on Google and you type in 6 over 4, it's 1.5 and it rounds up to 2, okay, so there's another way to do ceiling without using the ceiling function and this is where you, which doesn't rely on floats at all. And it's actually more, I think it's better because floats kind of, if you have like some weird trailing points and decimal points, you have some problems, okay? What you could do is you actually could take the value you're trying to divide. So let's say I'm trying to do n over x, right, back to n over x. I could do is I could take n, I add by x minus 1 and I just divided by x. So here I'm going to print out, so I'm going to print out with ceiling function. So here with ceiling function, which is going to give me calling the ceiling function and this I'm going to do is without ceiling function, but it's this, right? And I'm not going to use ceiling function. So what I'm going to do is I just add by x minus 1 and over x and what I learned is that this is actually a better way to do it because you avoid using the floats. And we could actually test this out. So let's do 6 and then divide by 4 again, so they both should give me 2. So with ceiling function, I got 2, without ceiling function, I got 2, so they both gave me 2. And this works for everything actually. So you could do it with 11 over 7. Let's try 11 over 7, okay? So 11 divided by 7, what does that give us? That gives us 1.57, so this should give us 2. So it's 11 divided by 7, yeah, they both give us 2. And we could do like, I don't know, 12, test this out, 12 over 7. Actually let's go lower, 12 over 4. No, 12 over 6, 7, 12 over 5, 12 over 5, 12 over 5. Okay, so this should give us the ceiling of this and I just see what it gives us. So let's see 12 over 5, 3, yeah, so it rounds up, actually takes this and rounds up. Right, so this actually rounds up the higher bar. So yeah, you actually do get the same number. And yeah, this actually does work. So if you want to not use the ceiling function and just want to get the ceiling of something over another number, you could just add by that number minus 1 and then divide it by it. So then you don't have to deal with the whole floats and stuff. So yeah, this was just a quick video about ceilings. Rate, comment, subscribe, I'll check you guys later, peace.