Sliding Window Xor
CodeChefOpen on judge ↗
Problem Description. Given an array of N integers you find XOR every possible k continous elements in the array Input Input description. The line of input contains 2 integers N and K . The second contains N spaced intergers Output Output description. Output should N-K+1 integers which will be XOR every k continous numbers Constraints Subtask 1 40 points - 1 ≤ N ≤ 103 - 1 ≤ K ≤ 103 -
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