Be an Alien
CodeChefOpen on judge ↗
Be an Alien Planet Kenda is inhabited by Aliens. The vision of the Aliens is topsy turvy. Given a rectangular chunk of text, whatever a human reads in the top-left corner will be seen in the bottom-right corner by the Aliens; whatever a human reads in the top-right corner will be seen in the bottom-left corner by the Aliens - and so on. A quick example: If this is what a human being sees:
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