Lelouch Bombs
CodeChefOpen on judge ↗
Lelouch Vi Brittannia again has a wicked plan for peace. There are a total of ‘n’ nations in the world constantly in conflict with one another, numbered from 1 to n.The world is represented by a matrix M of size R x C, where R is the number of rows and C is the number of columns. The i th row and j th column ($1 \leq i \leq R$) and ($1 \leq j \leq C$) intersect to form a block, namely, M[i][j] . T
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