Is anyone help me on this question In C,C++ language
You are given a list of NN integers and a value KK. Print 11 if KK exists in the given list of NN integers, otherwise print −1−1.
- First-line will contain two numbers NN and KK.
- Next line contains NN space-separated numbers.
Print the answer in a new line.