The Breaking Point
CodeChefOpen on judge ↗
Your task is to print the values in the given array A until a certain number K arrives in the array. Input description First line contains value of N (total number of array elements) and K Second Line contains N elements in array. Output description: Output the array as described in the question Example Input: 4 10 3 55 23 10 Output: 3 55 23 Explanation The total number of eleme
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