Odd Problem
CodeChefOpen on judge ↗
You will be given a string $S$. You have to output the string made by joining all the characters at odd positions of the string. For example, Given string $S$ $=$ "prashant". The odd positions characters are: $p,a,h,n$. Therefore you have to output the string "pahn". ### Input The first and only line will contain a string $S$. ### Output Output the required string- answer to the problem. ### C
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