Can you make video on templates for cp and your sublime setup for cp
@ani683 жыл бұрын
Congrats for 20k subs utkarsh.....😃🎊 And one question.....are you giving tomorrow's kickstart (means will we get Screencast after the contest)???
@hamimibnenasim43973 жыл бұрын
After seeing an AC Utkarsh: oh cool me: google kidhar hai :3
@rangeyraghav1303 жыл бұрын
Was able to solve the first three Then tired D for 1 hour but had no idea 😭😭
@leovl10413 жыл бұрын
x3 :c
@raysk47983 жыл бұрын
Thank you for clear explanation!
@indiansoftwareengineer48993 жыл бұрын
Bro, you are so ground to earth, awesome, do a live session someday here.
@SagarSonejaEARCS3 жыл бұрын
bhaiya Problem D me pascal triangle ka use samjh ni ayya.........please help
@classcure97693 жыл бұрын
Actually , if we calculate nCr by normal formula = (n!)/(r!*(n-r)!) it will give overflow error as max value of n can be 30 and 30! has 33 digits which will obv overflow but if deduce it into the formula nCr = (n-1)Cr + (n-1)C(r-1) we will not face that issue.
@abhijitroy19583 жыл бұрын
@@classcure9769 I was about to reply ,well explained ☀️
@guardkaiser93443 жыл бұрын
D no was a very interesting problem
@classcure97693 жыл бұрын
Solved 4 problems. I was close in E . Overall good contest. problem D was bit time consuming.
@utkarshgupta98583 жыл бұрын
yeah D was tougher than E if you know about sack/euler tours
@classcure97693 жыл бұрын
@@utkarshgupta9858 Yeah I was proceeding with euler tour but My thinking went into other direction than Binary search.
@sergemerto256 Жыл бұрын
What is the api you are using to clone the testcases in your local environment? I know how to do it in codeforces using cf tool but not sure about atcoder and other websites
@anikmandal63753 жыл бұрын
Please upload E as a separate video..it will be very useful
@udayverma61203 жыл бұрын
Hi, I want to become better at CP. Can you please share some tips, I'm a beginner. Also, do you think giving old virtual contests almost everyday and then upsolving a good way to practice?
@himanshudixit4903 жыл бұрын
There is no roadmap as such .. The only way to become good is just to practice problems little bit higher than your level....Still not satisfied then google/yandex/yahoo (whatever you like) "How to become good at CP" .. Wish you luck buddy !
@ahmedreza33743 жыл бұрын
How you are testing input without copying them🤔!??
@ARYANRAJ-cb4gf3 жыл бұрын
how are u extracting the sample test cases without copying them?
@utkarshgupta98583 жыл бұрын
secret techniques
@anexocelisia93773 жыл бұрын
@@utkarshgupta9858 Hey tell na please 🙏
@mohsinur9993 жыл бұрын
@@utkarshgupta9858 Please make a video on this
@hitesh68563 жыл бұрын
@@mohsinur999 He already did in a screencast's ending
@mohsinur9993 жыл бұрын
@@hitesh6856 Please share the link. Thank you.
@criticcell3 жыл бұрын
Please make a video on your sublime setup.
@soumy_jain3 жыл бұрын
Can you make an editorial for problem E please? I want to learn that technique.
@vishalchaurasia33863 жыл бұрын
6:26 😂😂
@TechieIndia3 жыл бұрын
I have one very silly doubt. At 14:34, I don't get the idea of subtracting cnt from k in 'b' and nothing in the case of 'a'. Please clear my doubt
@manthanvats98093 жыл бұрын
@Utkarsh Gupta you used a VECTOR OF VECTORS to calculate NCR but I just used the NCR formula and I got correct answer for given testcases and few of mine testcases but it giving WA on few testcases and AC on others.. please tell me what should I do? should I use vectors of vectors like you did?
@utkarshgupta98583 жыл бұрын
60 factorial overflows long long range
@manthanvats98093 жыл бұрын
@@utkarshgupta9858 ok... thank you for help..
@yashwanthnakka17412 жыл бұрын
How did sublime loaded the test cases by default ?
@ajeetsingh-vw5yv3 жыл бұрын
Why are we using ncr in D
@yushraj1183 жыл бұрын
Bhaiya aap apne ......sublime text setup ke upar ek video bana dijiye please
@sarvesh_k3 жыл бұрын
can you please make a video on CP editor Setup?
@aryanagrawal47943 жыл бұрын
How do u right the main method in ur code? I'm always confused about it. I do my coding in python where i solve questions in leetcode where i have to complete the function without taking input. I wanted to start cp so I'm confused about the main method unlike u just solve the question in ur void solve() and dont change the main method and copy paste the code.
@srishtikdutta89463 жыл бұрын
What is SAG or SACK which technice you said in E?
@utkarshgupta98583 жыл бұрын
sack=dsu on tree
@srishtikdutta89463 жыл бұрын
@@utkarshgupta9858 ok thank you
@amannautiyal3 жыл бұрын
all the best bhaiya. aaj Rank 1
@leviackerman98823 жыл бұрын
12:23 noob math doubt : I see it like : If we fix a at the current position, then we have total (a-1+b)!/(a-1)!b! Strings (Total permutations/repetitions) Also ncr[a+1-b][b] yeilds the same thing but I can't relate how the formula is working how is choosing b out of a-1+b working the same as (total permutations/repetitions) ?
@utkarshgupta98583 жыл бұрын
actually it's ncr[a-1+b][b], out of (a-1+b) positions, we're choosing b positions as 'b' and remaining (a-1) will automatically be 'a'... so this makes a permutation...
@leviackerman98823 жыл бұрын
@@utkarshgupta9858 got it now, thnx 👀
@beerauppamnaveenteja7203 жыл бұрын
Can give me some suggestions..I am just going to begin competitive programming in next week ending.i learnt c language quite well.
@AmanSharma-or5vh3 жыл бұрын
Too Good
@akshay86753 жыл бұрын
bro make a video on your setup and shortcut keys
@srinjaykapri73 жыл бұрын
How to cover advance topics with parallel contest??
@Saitama-kf4oy3 жыл бұрын
hello sir, can you solve 4-5 selected 1D dp hard problems
@maikarmahoon3 жыл бұрын
Can you show your sublime text setup.......
@sh-jb3mp3 жыл бұрын
When you stared cp?
@afkgaming32032 жыл бұрын
You should explain the problems more cuz sometimes its difficult for us to understand the question in the first place
@thisisalbyjacob3 жыл бұрын
Doubt : Why most of the programmers use microsoft
@vaibhav18vk3 жыл бұрын
Most Developers use Linux But Most Programmers use Windows as u said 😁
@thisisalbyjacob3 жыл бұрын
@@vaibhav18vk???? I am only 15 say it simply😑😑
@anjaligoswami96643 жыл бұрын
Hello.. utkarsh Can u please make a discord channel for CP.. we all will be able to help each other in discord..
@utkarshgupta98583 жыл бұрын
lol yes good idea. actually it's been around for 6 months at least... here's the link: discord.gg/qH9nnaRmtp
@anjaligoswami96643 жыл бұрын
@@utkarshgupta9858 ohhh nice thanks ❤❤
@sohammukherjee80793 жыл бұрын
What would be the Sack way to do it ?
@utkarshgupta98583 жыл бұрын
keep track of how many vertices are at depth d in all subtrees for all d. it works offline
@kongzilla28973 жыл бұрын
Why are you so smart?
@097kushagrarawat93 жыл бұрын
Your Sublime Template ......
@097kushagrarawat93 жыл бұрын
pls no secret for subs
@097kushagrarawat93 жыл бұрын
pls no secret for subs
@097kushagrarawat93 жыл бұрын
pls no secret for subs
@gokarnapandey49302 жыл бұрын
padhane aate ho ki apna gyan dikhane bhai !!
@utkarshgupta98582 жыл бұрын
Gyan dikhane
@gokarnapandey49302 жыл бұрын
@@utkarshgupta9858 अरे अरे भाई 😂😂। ksm se yrr mai kbhi socha nhi tha ki aap aise comment ko reply doge ...Thank you bro .. But you need to explain more as compared to last problems.
@gokarnapandey49302 жыл бұрын
Yrr bhai ek video backtracking pe bana dete to bhut help ho jati meri ...🙏🙏