Pls help me solve this , not getting submitted,
failing test cases, solved as told in video sol
Smart Robber question
Hello @A17LP0014, it’s like you are very much confused with the language or you didn’t understand the statement clearly.
Here your array initialization is also wrong and Max is not any function in cpp it is max.
You need to use the pointers if you want to declare it using new keyword.
And size() is not any function in case of arrays. Although we can use them with vectors.
For that you need to declare a vector.
And the input format is that first of all take the no. of test cases as well and you are not considering that as well.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.