Please fill the feedback form for PCD: forms.gle/8NbwjGeiSmAjTtd99
@ankita8909
13 күн бұрын
The way you explain is great , complete understanding of the solution why it works ..thanks gaurish sir 😊
@sahilverma1991
8 күн бұрын
for question C there is no need for an if statement to compare x and y. we can simply say mvx = max((x+d-1)/d , (y+d-1)/d); mvy = max((x+d-1)/d - 1,(y+d-1)/d ); and then output mvx + mvy;
@sourabhtiwari4788
14 күн бұрын
Why don't you explain div2 solution frequently that would be really helpful.
@shauryatomer1058
13 күн бұрын
Thanks for the awesome explanation on Problem F
@satyajit1512
7 күн бұрын
Product for slope at the right angle should be -1 => (Xl - Xmid)*(Xr-Xmid) = -1 as y's are only 1,0 that gives the llogic for last two triangle cases.
@DevMehta-sj5yz
12 күн бұрын
❤️
@ilovescience7655
14 күн бұрын
I was able to upsolve till F on my own, needed help with G1 as I was not able to figure out it's implementation after identifying it as a sliding window problem.
@shreyxnsh.14
12 күн бұрын
what was your approach?
@ilovescience7655
12 күн бұрын
@@shreyxnsh.14 for which problem?
@shreyxnsh.14
12 күн бұрын
@@ilovescience7655 F, I'm struggling to understand its approach
@shreyxnsh.14
11 күн бұрын
@@ilovescience7655 F
@harshtank7075
14 күн бұрын
great solution for g1, could have made F implementation better
@shreyxnsh.14
12 күн бұрын
how could it have been made better?
@competitveprogrammer883
5 күн бұрын
I was also facing issue with the approach explained on timestamp 23:38 and failed on testcase 2 for problem C. Are there specific edge cases that are to be taken care of in that case?
@paraskadela-mu9ke
13 күн бұрын
You just made problem F way more complicated to understand with that implementation.
Пікірлер: 18