Velikost videa: 1280 X 720853 X 480640 X 360
Zobrazit ovladače přehrávání
Automatické přehrávání
Přehrát
Sprague Grundy Theorem (A concept required for last problem):cp-algorithms.com/game_theory/sprague-grundy-nim.html
Thanks :)
I got the idea of the theorem, but i just want to ask is the proof of theorem important to solve the problems or just the theorem statement is enough
video plz
No we started atcoder plz keep uploading it
yes bro pls
I used graph and saw all connected components. Because i dont know anything about dsu . I will laern it today hopefully
@UCfWznZBepChox8KFn8zSIAw i got accepted 😊😊
@@devendrasingh4776 Yooo....nice :)
same .. i also did dfs and no of nodes in each component-1 will contribute to ans
I solved D using a graph . I calculated the sum of depth of all connected components, it got accepted.
Also , N- Number or trees works
In Problem E, why did you do " if(l==1) l++; " in line 63 of your code? What is this corner case telling?
If l==1, then we are also considering pairs such as (1, 1), (1, 2)...(1, r). Gcd of these pairs is always 1 which we don't require, so we make l=2.
Good Job!
No sir we participate in beginner contest, I personally found them very good
@utkarsh SIr can you give the resources for mobius function
Any update regarding your course ? I've been waiting for so long
💯💯
Is this contest similar to Div3 of CF ?Can anyone roughly provide the ratings According to codeforces for the problems after C ??Thanks a lot 😊
D 1600 maybe, E like 2000, F 2300
@@utkarshgupta9858 thanks a lot dude will try to give these contests from next time.Please try to upload solutions of these contests whenever you have time 😉
I had the same approach for C but didn't think of DSU for problem D.
Yhi toh chahiye tha 🙏
yesterday's div2 where
Please,upload the solution of atcoder beginning contest 221
bhaiya I don't know dsu and graphs , is it mandatory to know graphs for learning dsu.
Can i use binary search for the second problem?
Yes sum of n terms is a monotonic series .So you can use binary search
@@rangeyraghav130 Thanks
left = 1; right 1e5;while(left = n){}else{}Ians = mid;right= mid-1;left = mid+1;}cout
Please also upload codeforces round. I always look upto ur videos for learning
Make video on dsu I think u spent more time on yesterdays e2.
Hello bhaiya, I wanna know if CP is required for fracking interviews of companies like Uber, Google or leetcode is enough? Please reply
Cp is a process to sharpen your problem solving skills to crack intervies. If u can do the same by leetcode then do anyone of them
Sprague Grundy Theorem (A concept required for last problem):
cp-algorithms.com/game_theory/sprague-grundy-nim.html
Thanks :)
I got the idea of the theorem, but i just want to ask is the proof of theorem important to solve the problems or just the theorem statement is enough
video plz
No we started atcoder plz keep uploading it
yes bro pls
I used graph and saw all connected components. Because i dont know anything about dsu . I will laern it today hopefully
@UCfWznZBepChox8KFn8zSIAw i got accepted 😊😊
@@devendrasingh4776 Yooo....nice :)
same .. i also did dfs and no of nodes in each component-1 will contribute to ans
I solved D using a graph . I calculated the sum of depth of all connected components, it got accepted.
Also , N- Number or trees works
In Problem E, why did you do " if(l==1) l++; " in line 63 of your code? What is this corner case telling?
If l==1, then we are also considering pairs such as (1, 1), (1, 2)...(1, r). Gcd of these pairs is always 1 which we don't require, so we make l=2.
Good Job!
No sir we participate in beginner contest, I personally found them very good
@utkarsh SIr can you give the resources for mobius function
Any update regarding your course ? I've been waiting for so long
💯💯
Is this contest similar to Div3 of CF ?
Can anyone roughly provide the ratings According to codeforces for the problems after C ??
Thanks a lot 😊
D 1600 maybe, E like 2000, F 2300
@@utkarshgupta9858 thanks a lot dude will try to give these contests from next time.
Please try to upload solutions of these contests whenever you have time 😉
I had the same approach for C but didn't think of DSU for problem D.
Yhi toh chahiye tha 🙏
yesterday's div2 where
Please,upload the solution of atcoder beginning contest 221
bhaiya I don't know dsu and graphs , is it mandatory to know graphs for learning dsu.
Can i use binary search for the second problem?
Yes sum of n terms is a monotonic series .
So you can use binary search
@@rangeyraghav130 Thanks
left = 1;
right 1e5;
while(left = n)
{
}
else
{
}
I
ans = mid;
right= mid-1;
left = mid+1;
}
cout
Please also upload codeforces round. I always look upto ur videos for learning
Make video on dsu
I think u spent more time on yesterdays e2.
Hello bhaiya, I wanna know if CP is required for fracking interviews of companies like Uber, Google or leetcode is enough? Please reply
Cp is a process to sharpen your problem solving skills to crack intervies. If u can do the same by leetcode then do anyone of them