Skadoosh!
CodeChefOpen on judge ↗
"Skadoosh! " and now Po and Kai are in the spirit realm. They have a fierce battle and the dragon warrior emerges victorious with his new power of chi. Po meets Oogway after the battle and in order to return home, he must solve one of his mysterious puzzles. Let’s define a sequence $S$ as permutation of numbers from $1$ to $N$ where $N$ is odd, so: $S$ = {$a_1, a_2, a_3,…..a_n$}. Let’s de
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