somethings wrong in the 2nd problem
I think they want the ans by specific % operation which is not specified
% operation?? nowhere it has been spwcified
100 2 3 100
will be 100 1 1 100
kuch huaaa?? anyone ? ? ?
hnn ye ho rhaa h
Request Queued.
Ready for evaluation
from 5 minutes
Please Reload Page And Try Again
Question 2 DP tha.
Hua kya ye bolo…
Me
anybody got correct answer using python3?
My confirmed correct python soln. gives WA everytime, which is frustrating.
Na bhai (20 chars)
Which one ? (20 chars)
anyone solved q2 … pls share approach
Present on net simple dp…but fails…why
For both. Solutions are correct because for first one, you just have to count max(xdist,ydist) for consecutive points and add them
Second one is a very standard dp problem one practices while learning DP, there’s no reinventing the wheel there
Have u did in contest ???
Post pics of questions if you have…I want to see them…
its pretty much the same question… i solved it earlier on hackerrank… whereas it was giving wa when i submitted the same solution here
A Good DP problem