Atcoder Beginner Contest 202 | Problems A to E Screencast with Solutions

  Рет қаралды 11,186

Utkarsh Gupta

Utkarsh Gupta

Күн бұрын

Пікірлер: 69
@AmmarShaikh-pe4mc
@AmmarShaikh-pe4mc 3 жыл бұрын
Can you make video on templates for cp and your sublime setup for cp
@ani68
@ani68 3 жыл бұрын
Congrats for 20k subs utkarsh.....😃🎊 And one question.....are you giving tomorrow's kickstart (means will we get Screencast after the contest)???
@hamimibnenasim4397
@hamimibnenasim4397 3 жыл бұрын
After seeing an AC Utkarsh: oh cool me: google kidhar hai :3
@rangeyraghav130
@rangeyraghav130 3 жыл бұрын
Was able to solve the first three Then tired D for 1 hour but had no idea 😭😭
@leovl1041
@leovl1041 3 жыл бұрын
x3 :c
@raysk4798
@raysk4798 3 жыл бұрын
Thank you for clear explanation!
@indiansoftwareengineer4899
@indiansoftwareengineer4899 3 жыл бұрын
Bro, you are so ground to earth, awesome, do a live session someday here.
@SagarSonejaEARCS
@SagarSonejaEARCS 3 жыл бұрын
bhaiya Problem D me pascal triangle ka use samjh ni ayya.........please help
@classcure9769
@classcure9769 3 жыл бұрын
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.
@abhijitroy1958
@abhijitroy1958 3 жыл бұрын
@@classcure9769 I was about to reply ,well explained ☀️
@guardkaiser9344
@guardkaiser9344 3 жыл бұрын
D no was a very interesting problem
@classcure9769
@classcure9769 3 жыл бұрын
Solved 4 problems. I was close in E . Overall good contest. problem D was bit time consuming.
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
yeah D was tougher than E if you know about sack/euler tours
@classcure9769
@classcure9769 3 жыл бұрын
@@utkarshgupta9858 Yeah I was proceeding with euler tour but My thinking went into other direction than Binary search.
@sergemerto256
@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
@anikmandal6375
@anikmandal6375 3 жыл бұрын
Please upload E as a separate video..it will be very useful
@udayverma6120
@udayverma6120 3 жыл бұрын
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?
@himanshudixit490
@himanshudixit490 3 жыл бұрын
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 !
@ahmedreza3374
@ahmedreza3374 3 жыл бұрын
How you are testing input without copying them🤔!??
@ARYANRAJ-cb4gf
@ARYANRAJ-cb4gf 3 жыл бұрын
how are u extracting the sample test cases without copying them?
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
secret techniques
@anexocelisia9377
@anexocelisia9377 3 жыл бұрын
@@utkarshgupta9858 Hey tell na please 🙏
@mohsinur999
@mohsinur999 3 жыл бұрын
@@utkarshgupta9858 Please make a video on this
@hitesh6856
@hitesh6856 3 жыл бұрын
@@mohsinur999 He already did in a screencast's ending
@mohsinur999
@mohsinur999 3 жыл бұрын
@@hitesh6856 Please share the link. Thank you.
@criticcell
@criticcell 3 жыл бұрын
Please make a video on your sublime setup.
@soumy_jain
@soumy_jain 3 жыл бұрын
Can you make an editorial for problem E please? I want to learn that technique.
@vishalchaurasia3386
@vishalchaurasia3386 3 жыл бұрын
6:26 😂😂
@TechieIndia
@TechieIndia 3 жыл бұрын
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
@manthanvats9809
@manthanvats9809 3 жыл бұрын
@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?
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
60 factorial overflows long long range
@manthanvats9809
@manthanvats9809 3 жыл бұрын
@@utkarshgupta9858 ok... thank you for help..
@yashwanthnakka1741
@yashwanthnakka1741 2 жыл бұрын
How did sublime loaded the test cases by default ?
@ajeetsingh-vw5yv
@ajeetsingh-vw5yv 3 жыл бұрын
Why are we using ncr in D
@yushraj118
@yushraj118 3 жыл бұрын
Bhaiya aap apne ......sublime text setup ke upar ek video bana dijiye please
@sarvesh_k
@sarvesh_k 3 жыл бұрын
can you please make a video on CP editor Setup?
@aryanagrawal4794
@aryanagrawal4794 3 жыл бұрын
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.
@srishtikdutta8946
@srishtikdutta8946 3 жыл бұрын
What is SAG or SACK which technice you said in E?
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
sack=dsu on tree
@srishtikdutta8946
@srishtikdutta8946 3 жыл бұрын
@@utkarshgupta9858 ok thank you
@amannautiyal
@amannautiyal 3 жыл бұрын
all the best bhaiya. aaj Rank 1
@leviackerman9882
@leviackerman9882 3 жыл бұрын
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) ?
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
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...
@leviackerman9882
@leviackerman9882 3 жыл бұрын
@@utkarshgupta9858 got it now, thnx 👀
@beerauppamnaveenteja720
@beerauppamnaveenteja720 3 жыл бұрын
Can give me some suggestions..I am just going to begin competitive programming in next week ending.i learnt c language quite well.
@AmanSharma-or5vh
@AmanSharma-or5vh 3 жыл бұрын
Too Good
@akshay8675
@akshay8675 3 жыл бұрын
bro make a video on your setup and shortcut keys
@srinjaykapri7
@srinjaykapri7 3 жыл бұрын
How to cover advance topics with parallel contest??
@Saitama-kf4oy
@Saitama-kf4oy 3 жыл бұрын
hello sir, can you solve 4-5 selected 1D dp hard problems
@maikarmahoon
@maikarmahoon 3 жыл бұрын
Can you show your sublime text setup.......
@sh-jb3mp
@sh-jb3mp 3 жыл бұрын
When you stared cp?
@afkgaming3203
@afkgaming3203 2 жыл бұрын
You should explain the problems more cuz sometimes its difficult for us to understand the question in the first place
@thisisalbyjacob
@thisisalbyjacob 3 жыл бұрын
Doubt : Why most of the programmers use microsoft
@vaibhav18vk
@vaibhav18vk 3 жыл бұрын
Most Developers use Linux But Most Programmers use Windows as u said 😁
@thisisalbyjacob
@thisisalbyjacob 3 жыл бұрын
@@vaibhav18vk???? I am only 15 say it simply😑😑
@anjaligoswami9664
@anjaligoswami9664 3 жыл бұрын
Hello.. utkarsh Can u please make a discord channel for CP.. we all will be able to help each other in discord..
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
lol yes good idea. actually it's been around for 6 months at least... here's the link: discord.gg/qH9nnaRmtp
@anjaligoswami9664
@anjaligoswami9664 3 жыл бұрын
@@utkarshgupta9858 ohhh nice thanks ❤❤
@sohammukherjee8079
@sohammukherjee8079 3 жыл бұрын
What would be the Sack way to do it ?
@utkarshgupta9858
@utkarshgupta9858 3 жыл бұрын
keep track of how many vertices are at depth d in all subtrees for all d. it works offline
@kongzilla2897
@kongzilla2897 3 жыл бұрын
Why are you so smart?
@097kushagrarawat9
@097kushagrarawat9 3 жыл бұрын
Your Sublime Template ......
@097kushagrarawat9
@097kushagrarawat9 3 жыл бұрын
pls no secret for subs
@097kushagrarawat9
@097kushagrarawat9 3 жыл бұрын
pls no secret for subs
@097kushagrarawat9
@097kushagrarawat9 3 жыл бұрын
pls no secret for subs
@gokarnapandey4930
@gokarnapandey4930 2 жыл бұрын
padhane aate ho ki apna gyan dikhane bhai !!
@utkarshgupta9858
@utkarshgupta9858 2 жыл бұрын
Gyan dikhane
@gokarnapandey4930
@gokarnapandey4930 2 жыл бұрын
@@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.
@gokarnapandey4930
@gokarnapandey4930 2 жыл бұрын
Yrr bhai ek video backtracking pe bana dete to bhut help ho jati meri ...🙏🙏
Codeforces Round 724 | Problems A to D Screencast with Commentary
59:12
Atcoder Beginner Contest 206 | All Tasks Solutions
30:47
Utkarsh Gupta
Рет қаралды 6 М.
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 51 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
Maths for DSA/CP : All You Need To Know
1:07:19
Utkarsh Gupta
Рет қаралды 136 М.
Codeforces Edu Round 111 | Problems A to E Solutions
1:06:00
Utkarsh Gupta
Рет қаралды 12 М.
C++ STL: The ONLY Video You Need | Compulsory for DSA/CP
57:44
Utkarsh Gupta
Рет қаралды 180 М.
Codeforces Round 735 Solutions
56:01
Utkarsh Gupta
Рет қаралды 14 М.
No, Einstein Didn’t Solve the Biggest Problem in Physics
8:04
Sabine Hossenfelder
Рет қаралды 228 М.
C++ IDE Setup for Competitive Programming and DSA
9:05
Utkarsh Gupta
Рет қаралды 115 М.
Codeforces Global Round 15 | Problems A to F Video Editorial
35:01
Utkarsh Gupta
Рет қаралды 11 М.
Codenation 29th July 2021 Hiring Test Solutions (Hard)
39:45
Utkarsh Gupta
Рет қаралды 46 М.
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 51 МЛН