Design a Bot
CodeChefOpen on judge ↗
Problem description. The Pragyan Bot Contest is to design a bot to do the following task. You are given an initial configuration of board of M rows and N columns and a target board of M rows and N columns, where each tile is either Blue or Red. Blue is denoted as '1' and Red is denoted as '0'. Your task is to make the initial configuration on the board to look like the target board. The bot can
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