I love how you enter contests with a realistic chance of winning them !
@so7am964 жыл бұрын
I love how you used the stack at problem F! what a nice approach! Kudos :))
@parvgour52844 жыл бұрын
love your way and approach of solving the problems.,..
@shreekrishna61444 жыл бұрын
I think you should collaborate with Errichto.By the way,great content.
@naimhasanpappu39014 жыл бұрын
Editorials should be made just like you explained with drawing.
@Neroldy4 жыл бұрын
very useful explanation of E
@CalebKious4 жыл бұрын
I’m currently studying C#, how well does the language hold up in competitions as opposed to C++?
@yacinmessaoud1864 жыл бұрын
I love these beginner problems ! they make me feel like a CP lol
@izytro79714 жыл бұрын
what's the font that you use in vim?
@bharathateja27974 жыл бұрын
I love your explanations thanks
@abhiraj99904 жыл бұрын
For F you said dp[n]=1 because suffix of n has no robots but for suffix n there are two options if operation is done No robot left but in case no operation(possibly zero Said in problem) There will a robot alive. Correct me if i am wrong
@tmwilliamlin1684 жыл бұрын
Suffix n is basically the empty suffix, so there is only one choice for the set of robots, which is the empty set.
@parvgour52844 жыл бұрын
@William Lin hey, how many years of coding experience you have...?
@saliherk4n3 жыл бұрын
2017
@jumbochill4 жыл бұрын
How did you configure gvim? It would be helpful if you could make one video on this programming environment setup.
@tmwilliamlin1684 жыл бұрын
There aren't many settings for vim. codeforces.com/blog/entry/51726 can help Here's my vimrc: pastebin.com/qMvFYGqb
@Learner0104 жыл бұрын
nice explanation ..just one query how you get through problem statement under 10~20 sec :)
@tmwilliamlin1684 жыл бұрын
I have read a lot of statements already through practice. (Also because I read English a lot?)
@Learner0104 жыл бұрын
@@tmwilliamlin168 look every good coders secret is lots of practice..but is there any path to follow because i'm just stuck to 4-5 problem in codechef and in this atcoder contest i solved only 3
@tmwilliamlin1684 жыл бұрын
I don't follow any path.
@mahmudhasan46544 жыл бұрын
love you bro
@Christopher01104 жыл бұрын
I know im a few months late but still got a question: at c, how/why did you choose 10^4, was there a specific reason for that?
@meowmaple2 жыл бұрын
The solution can be gotten by brute forcing, and by checking the max size of the inputs, he is able to know the upper bound of the inputs and deduced that 10e4 iterations are enough to find the solution
@kushsingla45094 жыл бұрын
Which language is good for competitions, I know c and just learned python, is c++(which you are using) better and what about java
@kushsingla45094 жыл бұрын
I just started coding on competitive site codechef, any suggestions on other sites?
@tmwilliamlin1684 жыл бұрын
People generally use C++ over Python and Java because of speed and C++ over C because of STL.
@tmwilliamlin1684 жыл бұрын
HackerRank and Codeforces are worth looking at as well.
@kushsingla45094 жыл бұрын
Thanks man, hopefully I will get better with practice, could only solve 2 problems on my codechef's first contest and then gave up due to tle errors😔
@parvgour52844 жыл бұрын
@@tmwilliamlin168 HackerEarth is better than that...
@smartprogrammer20124 жыл бұрын
How do you setup vim for c++? I can’t find a good tutorial
@sharathnair17024 жыл бұрын
Explanation to E was amazing
@codeWithBatta4 жыл бұрын
Nice one bro
@prashantrana62494 жыл бұрын
if problem c had large constraints how could we apply binary search on it?
@tmwilliamlin1684 жыл бұрын
We just need to find the smallest x such that floor(0.08x)>=a and floor(0.1x)>=b. Then, we check whether the value of x actually gives a and b.
@abhishekdhok52453 жыл бұрын
CP God
@lodhi_abhishek4 жыл бұрын
What your vim setup?
@codeWithBatta4 жыл бұрын
can you explain the use of {} vs () brackets
@tmwilliamlin1684 жыл бұрын
Where
@codeWithBatta4 жыл бұрын
@@tmwilliamlin168 in F while pushing and in declaration of vector if I use one type of brackets instead of another it gives error. So I thought there might be some rule of using them.
@tmwilliamlin1684 жыл бұрын
@@codeWithBatta I use {} to create vectors and arrays
@sherlock28534 жыл бұрын
Can You make a video on how to write code fast .give some shortcut tips
@tmwilliamlin1684 жыл бұрын
A lot of it is practice. This is my 10th year writing code.
@sherlock28534 жыл бұрын
@@tmwilliamlin168 yeah we should practice but don't you think if we don't know shortcuts mai be we will remain at the same speed we will be using same things which are slow. Or is it something that comes automatically by practice??
@tmwilliamlin1684 жыл бұрын
@@sherlock2853 I learned shortcuts by searching up vim shortcuts on Google
@sherlock28534 жыл бұрын
@@tmwilliamlin168 thanks i will do the same. Can u help me understand why you used 4*n +4 in memset i saw your already replied on someone's comment regarding this but i am still not able to understand.And thanks a lot you are really helping people like me.
@tmwilliamlin1684 жыл бұрын
@@sherlock2853 have you read the documentation of memset?
@arjuntomar2154 жыл бұрын
Hello sir , why don't you post videos of problem solving like the errichto, it will be a great learning along with these contest videos
@tmwilliamlin1684 жыл бұрын
Is there something different about problem solving videos than contest videos? Because I am also solving problems in contests.
@arjuntomar2154 жыл бұрын
@@tmwilliamlin168 srry my comment was bit confusing, these contest videos are awesome, but doing topic/domain(Graphs, maths, DP etc) specific problems solving will be great too, with that interested peoples could find playlist of those topic videos(if you bunch them in playlist), also if you are solving problems in random contest then also dividing problems in playlist will be awesome if possible technically :-)
@deveshvarma85314 жыл бұрын
I could only solve 4 :(
@tmwilliamlin1684 жыл бұрын
That was me 3 years ago!
@deveshvarma85314 жыл бұрын
Wow. Let's see where will I be after 3 years😅
@letsgotousa6792 жыл бұрын
Where are you now brother?
@deveshvarma85312 жыл бұрын
@@letsgotousa679 same place LOL. Thanks for reminding ☠️
@deveshvarma85312 жыл бұрын
@@letsgotousa679in my defense only 2 years passed tho. i will get back to you next year :)
@Pavanthetechboy4 жыл бұрын
Bro u know that u are a pro Don't compete in beginner contests It will affect noovs like me
@KrishnaList4 жыл бұрын
Could you please explain problem then code explaination..your coding speed so fast.
@tmwilliamlin1684 жыл бұрын
What do you mean?
@KrishnaList4 жыл бұрын
@@tmwilliamlin168 i mean plz explain contest problem as well i am beginner
@tmwilliamlin1684 жыл бұрын
@@KrishnaList explaining the problems statement is not the focus, and it's not hard to learn if you do some practice.