Strange Grid
CodeChefOpen on judge ↗
The minion tribe is in a great peril. Kevin, along with Stuart and Bob steps up for the entire minion tribe for the search of a new master. On their way to Villain-Con, they find a strange grid that they must solve in order to proceed. The grid is a square matrix of order 'x' i.e it has x rows and x columns. They have to fill the grid such that the product of all the numbers is maximum, keeping in
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