Those who are familiar with c++, this video has some subtle concepts which you wont find directly written in books or anywhere. So try to watch atleast once. If people have common doubts i will add them and their explanations below. Doubts : 1. On some compilers the example i had shown(10:37) for overflow which gave right answer with long int, still may give wrong answer on your computer as long int range used to be small in older architectures. On the online websites it will work correctly but on local machine it may overflow, so to avoid this, either use int or long long int, don't use long int.
@virusrecord629
3 жыл бұрын
Ok
@systemflaws
3 жыл бұрын
Thanks! Waiting for next video
@changelife9847
3 жыл бұрын
Thank you Bhaiya ❤️❤️ for such clear cut explanation
@anonymousa3370
3 жыл бұрын
32bit and 64bit machines Right?
@extensionx1285
2 жыл бұрын
Thanks vaea.
@yourbestie4138
3 жыл бұрын
the way he teaches is that even a 5th standard kid can understand and become a candidate master. the next level of teaching 💗
@jini4351
3 жыл бұрын
I m in 9th & happy to discover his YT channel ! ...wish me luck :)
@walterwhite9753
2 жыл бұрын
so true
@Lifeisgood108-33
Жыл бұрын
@@jini4351 All the best ! ❤
@divyanshushukla795
3 жыл бұрын
Brilliant !! very few people concentrate on overflow part, I myself ignored in the initial months while I did CP and ended up getting empty output. Course seems to be smooth and straight to the point. This channel deserves to be among the top CP channels.
@yoursyasuo5868
3 жыл бұрын
Please upload more frequently! I really need this course!
@annesyabanerjee1892
3 жыл бұрын
yess
@ShubhamChhimpa
3 жыл бұрын
These concepts are really important... If you don't know these you will get frustrated when you submit code and get wrong answer errors. I initially faced these problems solving problems. You are doing a great job.
@tanmoydutta5846
2 жыл бұрын
True af.....in my initial days on CF, really got frustrated on what was giving WA in simple problems...
@VaishnaviNigam
3 жыл бұрын
itnaaa sahi content ....OMG 🔥🔥🔥🔥🔥UR PASSION AND LOVE TOWARDS TEACHING IS CLEARLY VISIBLE LUV BHAIYAAA.....BHUT MAST PARDHAYA ....ONE OF THE BEST CONTENT ON KZitem UPTIL NOW
@aviralsrivastava3409
3 жыл бұрын
Thanks a lot Bhaiya... I can't express my happiness enough. Knowledge is available online for free, but by bringing all of it under 1 roof and in a well structured manner - you are doing a great work! Keep It up!!!
@iampatelajeet
3 жыл бұрын
Today I got know the main reason behind my WA error in codechef. Overflow ! Thanks bro.
@Mayank-dd3vw
3 жыл бұрын
17:47, Here "l" and "b" should be long long int, because the constraints are 0
@tanmoydutta5846
2 жыл бұрын
The constraints 0 to 10^9 fall well within int range for storage, as for operations, yes, the 1LL was included to get the implicit conversion to do the job of preventing overflow...
@lataasnani2264
3 жыл бұрын
this cousre is seriously awesome..i havent found these things in any other video..pls keep uploading .
@maths558
2 жыл бұрын
No bro no doubt seriously. You teach in an amizing and knowledgeble way love this kind of teacher
@codingcouch
2 жыл бұрын
Man!!!! This is God's work! Tysm Luv this course is literally a blessing.
@priyanshurai3501
2 жыл бұрын
This channel is a hidden gem on KZitem
@md.pialahamed2002
3 жыл бұрын
Wow. I didn't expect that much new things I could learn from this video. Learned lots of new things 💜️
@CoderVroni
3 жыл бұрын
I am good at Cpp still I was facing hell lot of problems with these concepts. KZitem's hidden channels hides a lot of treasure. Thanks to LinkedIn that I am here. Shooting you a connection request was my great decision 🙏
@charanteja1160
Жыл бұрын
Suggest me some good channel to learn CPP
@CoderVroni
Жыл бұрын
@@charanteja1160 Go for anyone from Saurabh Shukla and Code with Harry.
@krishnarathi1073
3 жыл бұрын
no, the code is wrong for calculating area because if we consider a and b value as large as 10^9 then that would be out of range so, instead of cout
@shuvbhowmickbestin
2 жыл бұрын
Thought I knew C++ completely, still learnt a lot of new things about precision and overflow errors!
@amimultamim9893
Жыл бұрын
Even if I knew all the topics I got to learn a lot of things and understood that there is a lot to learn about the basics.Grateful to you vai and owe you a lot.Can't thank you enough.
@MunnaOnonto
3 жыл бұрын
Plz plz plz continue this series to object oriented programming even if possilbe about minimum of a c++ library. This will be very helpful. Love from Bangladesh 🇧🇩🇧🇩🇧🇩💓
@techandtalks6224
3 жыл бұрын
Buddy,u are awesome nobody explained these concepts in such details ..please take this programming course to the fullest
@subhajitdey135
3 жыл бұрын
Bhaiya I just found another great teacher. Loving your videos.
@amandeeprewani1041
3 жыл бұрын
i know c++ beforehan, still this was worth watching.thanks luv bhaiya for this series.
@rockeykumar3348
2 жыл бұрын
Bhai c++ padhne ke baad bhi ye sab doubt clear nii tha great hoo sir aap please upload more videos 🙏❤️.
@RaviKumar-jz4ri
3 жыл бұрын
Today I get to know about constraint is really important before this i never concentrate on constraint but thanks luv bhaiya
@fairlyfire
3 жыл бұрын
Thoda late hogayi Luv bhaiya sem end exams ki wajah se But I promise consistency rahegi ab se aap best ho!!! Thank you for providing such knowledge.
@justchill9400
3 жыл бұрын
why anyone needs coaching classes for coding, when Luv bhaiya is here. Thankyou bhaiya.
@AnikSahaBCE
2 жыл бұрын
today i saw your channel and i am surprised .. best programming channel in youtube... you deserve million million subscriber brother..
@shivampatel646
3 жыл бұрын
You're doing great bhaiya... No one is going to give such a valuable CP course for free.. Thanks alot
@shakshi9108
3 жыл бұрын
U teach very clearly and very well ....every concept gets so clear...keep up the good work
@shahimayank10
2 жыл бұрын
these are the the problems, i was facing from my 11 th class....thank you,finally i got it
@dilshadalam4546
Жыл бұрын
today you cleared my all doubts regarding overflow, precision and many more. Thank you...
@utsavseth6573
Жыл бұрын
Concise and clear. Seedhi baat no bakwaas.
@pratikpatil7962
3 жыл бұрын
I was going to skip this video because i knew all the concepts, but when i watched it i came to know about many things like overflow and precision which many tutorials skip in their beginners course. You are doing a grt job🔥
@abhishekmaurya9503
3 жыл бұрын
This course is best for those who know basics of programming in c/c++ ,and have done some coding/cp. But for complete beginner,it may give overflow 😄 Btw owssmm👍
@qaisbaltii
3 жыл бұрын
When A Doubt Comes In My Mind You Clear That Doubt At That Time Without Khowing My Doubt This Is The Sign Of A Great Teacher Your Teaching Method Is Next Level Love You A Lot Bro❤ (From Gilgit Baltistan)
@soniamalik4929
3 жыл бұрын
Thanks......Luv.....for this brilliant course....We are literally enjoying doing this...
@neerajmahapatra5239
3 жыл бұрын
I never understood constraints so well..Thank-you luv bhaiya 🙌🙌
@shivanshm1
3 жыл бұрын
cannot get better than this.....i thankyou so much bhaia
@harshitachaurasia1246
3 жыл бұрын
thanks for making deep diving in precision and overflow
@prathamesh2906
3 жыл бұрын
Bhaiya thank you for teaching us competitive programming from scratch. God blessed you.All the best for your journey.
@funenjoynilaypatel4553
2 жыл бұрын
next level of teaching 💗
@md.ualiurrahmanrahat2400
3 жыл бұрын
what an informative video....Thank you Luv Sir......Dil khush kar diya sir....love your hard work
@RajanSingh-q2o
Ай бұрын
#include using namespace std; int main(){ long long int l,b; cin>>l>>b; cout
@rambaldotra7259
2 жыл бұрын
The information that you are providing is really rare ❤️ Thanks for sharing your knowledge with us ❤️
@amiteshwarsingh6099
2 жыл бұрын
Thanks so much ! Overflow is a little complex topic but you explaned it so good , i will do more reserch on it :)
@walid-71
3 жыл бұрын
Many thanks for gifting us courses on Competitive Programming.
@chellam578
3 жыл бұрын
short and simple.Way of explaination is op.Plz can u also provide some notes.
@circketblendwithmusic
Жыл бұрын
Bhai op explanation now I have cleared my confused things about int, long long int etc.
@abhisheksinghmehra9576
Жыл бұрын
17:50 it gives error because if number become high like 10'8 . And when we multiply it , it become 10to the power 16 so it exceed the limit .So to avoid from these error we have to use data type as long long int
@mlkgpta2869
Жыл бұрын
Although you are teaching these things but the way you must've learned is by experience and that's how one can learn in best way.... Though the video is brialliant and points out some very important points.
@shikhargupta8759
3 жыл бұрын
Really helpful....Though I know C++ well but came to know about few things like fixed and precision (0) which I didn't know before . I was using printf statement to print such precision values😀😀..... Perfect and crisp video from all angles
@coderx7177
3 жыл бұрын
your teaching skills area excellent and i understood each and everything you explained at last i want to say one thing "You are awesome!"
@lakshsinghania
Жыл бұрын
17:47 it should be long long int as the constraints are 10^9 , max l and b can be 10^9 which leads to 10^18 / use long long int
@mdsaquib5660
3 жыл бұрын
Thank u so much bhaiya😊OP explanation 🔥OP course🔥
@changelife9847
3 жыл бұрын
Bhaiya, I am very Happy that you have brought out this course on C++ basics and I can be confirmed After completing this course I can achieve a nice rank in coding Tests.
@arashutosh5236
Ай бұрын
in the input we can take "int" as input but while calculating the area, we have to take "long long int" because it might be possible the measurement is larger.
@amimultamim9893
Ай бұрын
l and b should be of type long long because in the constraints l
@allinone8391
3 жыл бұрын
Before this video I don't know about constraints and just ignore that but today got to know that it's a very huge part to pass all the test cases bht shiii bhaiyaaaa aap praaoo bht achaa prate ho 🥺thank you bhaiya
@professorcalculus7885
2 жыл бұрын
17:38 No, it will work for most cases but if the number given are very large it won't work just multiply 1LL also and we are good to go.
@Ajay_jj
3 жыл бұрын
bhai the concept of Range of the data types is great 💥💥
@Ajay_jj
3 жыл бұрын
bhai mera o/p 12 tha which is wrong
@sahilDa997
3 жыл бұрын
Best competitive programming course better than paid courses also😍😍😍😍
@yashgoswami5374
3 жыл бұрын
Luv your videos are really lovely , no any other creator has shared this kind of knowledge thank you brother
@saurovkumar8095
3 жыл бұрын
Sir, Thank you so much for this Course. Can you give us note's link in description box for every lecturer. This will be very beneficial for us.
@iamluv
3 жыл бұрын
i dont have any notes, also i dont have time to make also, barely i am able to make videos along with my full time job
@005lemdshahbazkhan2
3 жыл бұрын
Bhai yrr maza a gaya is video mein toh mein ne toh aaj se hi start kiya h..., aur bhai problm solve krne se pahle logic kyese create kare vo bhi btae plz, aur dry run kr k bhi btae
@sajeesyed3384
Жыл бұрын
absolutely piercing hot lecture an important start of competitive programming ❤thumbsup
@shivammishra9487
2 жыл бұрын
we have to print l*1LL*b for getting ans in range 10^18
@Aryan-hn6ei
2 ай бұрын
bhaiya kal aapke lec mei ek question tha data types se related jisme hme out ki precision 3 decimal places tk rkhi thi and i dont knew how to do it toh maine printf function daal kr %0.3f use kra but today i got a new function(setprecision()) to do the same ..
@surajsarmahpathak8403
3 жыл бұрын
Awesome explanation of the core concepts. Thanks Luv Bhaiya.
@turing_machine544
3 жыл бұрын
We should appreciate Luv bhaiya..
@rutvikbalar4909
3 жыл бұрын
Really pro level buddy i recommend u to see this video it's really useful.
@Onchaingambit
3 жыл бұрын
Dinner khate khate dekhliya, Acha revision horaha hai abhi to Keep going luv vau 🔥🔥
@factswithai2
3 жыл бұрын
Kya bhai peda hote hi coding karna chaalu kar diya tha kya, itni gazab concepts ki clarity hai, bhai tere liye toh dil se respect hai
@changelife9847
3 жыл бұрын
Bhaiya the answer is we cannot use integer data type here it may result in integer overflow if we use integers for storage of l and b and if l=10^5 and b=10^5 then some wrong value will be printed as the calculation for two integers will try to calculate result in terms of integer . So we can use long int data type to avoid overflow.
@koushikbala2652
Жыл бұрын
really helpful video.i just love your c++ content
@rahulkadam6655
3 жыл бұрын
Thanks, for teaching with so much precision 💯🙌🏻
@roshanmhatre8810
3 жыл бұрын
Aapke videos such may helpful hai, kuch naya sikhne mila ❤
@perumallayaswanth83
3 жыл бұрын
In one video my entire doubts have been cleared. Tnq
@appu6517
8 ай бұрын
maximum area can be 10^18 which can be stored by long long int.
@namanjain7710
3 жыл бұрын
Video is gold
@abhishekmv6682
2 жыл бұрын
Pehli baar, CC mein constraints ki ahimat samaj aayi :):):):):)
@barnikroy3570
3 жыл бұрын
Great sir please continue.......please don't stop this free course for sake of some countable notes.......keeping in mind the plight of poor students
@RavinderKumar-bn4ch
3 жыл бұрын
Bhai! best cp teacher. To the point information.
@ashishtokeria9104
2 жыл бұрын
Hi.. I am regularly following your videos and find them very useful. Can you please set of videos on memory management concepts in C++ such as RAII, RC, Smart pointer etc?? Will be highly appreciative..
@souravnag07
3 жыл бұрын
This is so much helpful. Many many thanks for this series.
we have to calculate in 1LL cause, rectangle's constraints are l=10**9 and b=10**9 so after finding the area it will be 10**18 so here if we have calculate in int so it cause overflow.we can do it in long long int.
@ankitkumarghosh462
3 жыл бұрын
So wonderful knowledge i got from this. THANK YOU,THANK YOU,THANK YOU
@sayyamjain101
Жыл бұрын
yeah this program is correct because constraints are given that input should be an int of the range 10^-9 to 10^9
@yatinarora1252
3 жыл бұрын
the l and b should be in long long int as it has range 0
@srishtigugoriya9319
3 жыл бұрын
aree yr maja aa gya video dekh k, kya to smjhaya hai !! ; )
@nafisahmed3607
2 жыл бұрын
Amazing. Love from Bangladesh 💝🇧🇩
@mayanksingh68
3 жыл бұрын
pls continue this series bro you teach well.
@niloy.learner
3 жыл бұрын
Take love brother. Learned a lot of things.
@harshdeep7312
3 жыл бұрын
ab lag rha competitive coding sikh jaunga tysm sir
@aniketanimusic5879
2 жыл бұрын
DAY 2 - LEARN ALOT THANKS LUV BHAIYA
@jayantmittal6665
3 жыл бұрын
we have to write long long int to store area of rectangle
@TheStoicWay-07
3 жыл бұрын
i really need such kind of information thank you very much sir " LOVE FROM PAKISTAN "
@mohammedshamil3976
3 жыл бұрын
Thanks bro❤️..this was the ideal playlist i was looking for
@nishudwivedi3478
3 жыл бұрын
Bhaiyaaaaa aap bahaut achaaaa pdhate ho......... Thank you so much...... Hmne aaj hi pdhna start kiya h..... Or abhi tk sb kuch smj bhi aaya hai vo bhi bahaut acheee se....... I hope aage bhi sb kuch smj aaigaaa....... Bhaiya aapne jo c++ ka jitna bhi basic btaya hai usse kaam chl jaiga placement mai ya phir or bhi kuch pdhna pdega....... Bhaiya aap comptetive programming kb tk khtm kr doge........ Thank you so much bhaiya.... Infinite times........ Bhaiya please reply....... 😄😄😄😄
@iamluv
3 жыл бұрын
jitna c++ btaya hai utna kaafi.. competitive kab tak khatam hoga.. even i dont know.
@Rahul-qe1zr
3 жыл бұрын
Nice Explanation please upload video in regular basis
Пікірлер: 431