Playing with Baby
CodeChefOpen on judge ↗
Avnish is playing with a baby. Since Avnish likes to play with integers, he has given the baby $N$ integers to play with. Then he gives the baby a random integer $K$ and asks him to find whether the integer is present or not.Since the baby is too small, help him to find the integer. ###Input: - The first line contains an integer $T$ - The number of test cases. - The second line contains two inte
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start