My code URL is :-https://ide.codingblocks.com/s/650257
Plz check my code
MY code is failing two test cases .But output is correct
Hello @chhabrarishi2001_264ecb7697e8af2a,
You are taking input in the wrong format,
First, you need to take n numbers in the array then m like this,
int arr[100];
for(int i=0;i<n;i++){
cin>>arr[i];
}int m;
cin>>m;
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.