← All problemsSign in

Mirror Image

Narcissist likes to see his image in the mirror very much. So, you are given the image of the narcissist in a matrix of '.' and '#' and you have to show how the narcissist image looks in a mirror. Input The first line of the input would contain the number of testcases t(1 . First line of each test case contains n and m ( 1 Output for each test case , you have to output how the input image wou

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start