B - Rivals in Love
CodeChefOpen on judge ↗
Ram and Raj are classmates and they were good friends. But one day Ram discovered that Raj also has a crush on the same girl Ram has a crush on. That girl is Chefina! **On Chefina's birthday , Raj decided to give her a really wonderful gift. A $N \times M$ sized matrix where each cell will have one digit from $(0 $ to $9)$!** Chefina loves seeing variety. So she will like the gift if there are v
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