← All problemsSign in

TNP CHALLENGE 404

a number of students are made to stand in n rows and m columns. Each students are identified by a random number. After making them stand in a row by column way it was noticed that the the arrangement of the outer students were wrong and the position has to be shifted by 1 place counter clockwise. Display the corrected arrangement? ###Input: first line is number of rows (m) second line i

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