if some found solution of book shop problem with python 3 , every time i submit the code he give me runtime error
@ishayadav0012 жыл бұрын
Great video!!
@saithunga1522 жыл бұрын
Well Explained!!
@TarunKumar-qs9dj2 жыл бұрын
Pls continue this CSES series in python as long as you can solve it
@mallasatyanarayana1942 Жыл бұрын
Hi Sai Anish Mall, can you post Python interview questions for preparation all in 1 video, Thx
@omaralzakout4100 Жыл бұрын
Hi, first of all thanks for this great video but I don't think your solution works for c++ as pow(6,n) is very big and this will cause overflow. My solution is to store the probability in the dp array instead of the number of ways so your code will work perfictly with this three changes : 1 - Initiate arr[0][x] = 1.0/6 2 - When calculating the arr[x][i] += arr[x-1][i-j] / 6 3 - Calculating the res will be just the sum without the division
@consistentthoughts8262 жыл бұрын
CSES has very strict online judge and it is difficult to get accepted for python
@saianishmalla26462 жыл бұрын
I do try to use C++ for most of them but tbh I'm way too comfortable with python so I just ended up using python for this.
@consistentthoughts8262 жыл бұрын
@@saianishmalla2646 please make all videos of cses as these 300 questions are a grrat source of knowledge