Please fill the Feedback form for PCD: forms.gle/49DgBUSHtkfCsP1e7
@dhawalshinde1242 ай бұрын
the approach to calc largest divisors really helped me. i was getting tle due to this.
@omkarmore44882 ай бұрын
Where is 158
@Abhishek-e6d2c2 ай бұрын
You should have explained the crafting coloring(Hard Version).Really wanted t o know the complete approach
@itzzRaghav2 ай бұрын
My approach was complicated and would've been quite difficult to explain and PCD had already gone too long, so I recommended the text editorial
@priyanshusingh32082 ай бұрын
In Random Nim question we can remove any number of stones >=1 from exactly one pile it is not necessary that every turn any player will remove only 1 stone .
@itzzRaghav2 ай бұрын
Problem stated "exactly one stone" in the problem statement
@Shaunak...2 ай бұрын
@@itzzRaghav atleast one
@raulboy50312 ай бұрын
@@itzzRaghav it's exactly one pile
@lineofcode28292 ай бұрын
@priyanshusingh3208 yes exactly.... I was thinking maybe a player can remove an entire pile ....... But after the video explanation it only makes sense that the last stone matters
@ymlikescp2 ай бұрын
Probability of removing last pile and last stone remains same...
@GeekStar-b4j2 ай бұрын
please suggest some resources for maths required in cp
@itzzRaghav2 ай бұрын
Utkarsh Gupta has created a video on KZbin for this
@Anime106J2 ай бұрын
i didn't get that how we got 3 for 18, as 18->2->1, since the largest divisor of 18 is 9. HElp me
@Anime106J2 ай бұрын
sorry a dumb comment, i get it know
@Parship-o6v2 ай бұрын
what if I not use Sort in Election question?
@SatyamYadav-wh1zf2 ай бұрын
Suppose, X=10 And you have this values (b[i]-a[i]+1) 10 3 7 If you sort it then 3 7 10 And the count of votes would have been previous + 2 ( 3+7=X) And if don't sort it 10 3 7 Then only first value would have been considered which is not optimal for the answer
@himanshutiwari34422 ай бұрын
super Hero code is not provided
@IRONMAN-co7qg2 ай бұрын
Div 4 ?
@Deviliitian-73572 ай бұрын
Bhaiya samjhane ka man na raha kare to mat samjhaya karo ,random nim wale question ko aap samjha nahi rahe the aap sirf jo likh rahe the usi ko repeat kare de rahe the , bhaiyaa acche se samjha doge to kya chala jayega koi kaam kar rahe ho to acche se kardo😢😢😢😢😢😢
@itzzRaghav2 ай бұрын
Sorry, at first I wasn't sure ki logo ko samajh aya hoga ya nhi, so I repeated and tried to approach the problem as how a low rated coder should've approached.