3 Arrays
CodeChefOpen on judge ↗
You will be given N integers in input. You have to print 2 lines of output. First line of output will have all the odd numbers given to you. And the second line of input should have all the even numbers given to you. **All integers on a single line must be printed in the order they came as input.** For example - If two integers $x$ and $y$ are odd, and $x$ was given earlier in
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