|
+32
|
|
На
MoonKnight9031 →
Difficulty in converting recursive solution to memoization / top-down DP, 4 года назад
0
you need to memoize for the variables which changing in the recursive calls. |
|
+12
is there only 1 machine that runs whole cf? |
|
+33
This sometimes give tle. |
|
0
. |
|
0
|
|
0
Coool |
|
0
See this — https://www.youtube.com/watch?v=nJbNe0Yzjhw |
|
+1
|
|
death note |
|
0
knife!! |
|
0
This is Matrix Chain Multiplication variation of DP Video Link (Hindi) |
|
+9
Epic !! Next courses suggestion — Tries |
|
0
rarely I see someone stuck at Pupil level for so long See my graph I was stuck at Newbie for 7 8 months |
|
0
|
|
0
semester |
|
0
True |
|
+19
They simply don't care! |
|
0
I think humans overthink about meaning of life tbh.. |
|
-14
. |
|
0
|
|
0
real title : tricks that will increase your rating from lgm to LGM. |
|
+6
keep us updated !! I will also start doing more VCs now.. |
|
0
So this has occured earlier also.. |
|
0
ok got it . Thanks |
|
0
In F , why the answer is stored at dp(n,0,0,0)?? Thank U |
|
-9
. |
|
-48
. |
|
0
For B , change each 0 with -1 and then answer becomes the max length subarray having sum as 0. |
|
0
Just show them some videos how coding is the future and that cp is a very good way of getting good at coding . Also,tell me them cp takes alot more brain than school subjects combined,then maybe they will allow you. |
|
+5
bcoz there is none.. |
|
0
cool explaination!! |
|
0
basically number of bitonic permutations ,right!! |
|
0
For C ,i came up with the logic that bitonic sequences will not result in any cycles. So we just have to subtract them from n! . Is this logic correct?? |
|
0
for C i tried it this way this code prints negative number can anyone tell why?? |
|
0
maybe tthey are same person |
|
0
In C, we can make k-1 subarrays of length 1 .So,these subarrays donot contribute to the answer bcoz max(i) == min(i).And for the array which is left,we can check every subarray from the start of length n -(k-1) and choose that one which give the minimum cost of division and that will be our answer. But ,this approach is not accepted . Can u tell why?? Code 88066269 |
|
0
Plz,tell my mistake for A Code: 87298100 |
|
+9
Listen You ASS****!,grey people like me perform bad in every round but dont rant afterwards .This round was genuinely bad. |
|
-45
MAKE THIS ROUND UNRATED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
|
0
Yes the jury was badd |
|
+3
Great round???? |
|
0
No the problem statement was very badly written and the question so very easy |
|
0
Yes u noticed tooo |
|
0
yes bcoz of this I wasted more than 1 hour on 2nd question and this made this round very bad for me |
|
+1
Question B was not clear. In the first sample test case,they should have clarified that the 4th and 5th picture are also same (they have different r thats why they should be different). Wasted more than 1 hour on it (I figured the formula in 2minutes) and could not touch C and D properly. Plz,clarify these things.Even on asking the jury ,it said only the last picture(for 1st sample test case) is not considered but actually the last 3 pictures were not considered in the answer. |
|
0
Thank You!!! |
|
0
Nice,Thank You! |
|
+10
Thank U !! |
|
+3
I only had 1 downvote. |
|
0
Yes.I thought that too |
|
0
I was doing this way only dont know why wrong answer |
|
0
ok will do.Thank u ! |
|
0
thank u!! |
|
+1
Thank u!!! |
|
0
me too |
|
0
thank u buddy |
|
0
83942386 why is it giving MLE for the first question ???? |
|
0
In problem C for block that is neither first nor last,why cant we do (number of zeros in block)/ (2*k+1) |