← All problemsSign in

The Great Wall Of Wadiya

Wadiya recently built a Great Wall to protect itself from its enemies. The wall, of size 105 x 105, is made of tiles of size 1x1. Being a citizen of Wadiya, you are responsible to paint the wall. To paint it, you can perform 2 types of paint operations - Type 1: This operation is represented by 1 R C1 C2 which means you have to paint the tiles from column C1 till column C2 in the Rth row. - 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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start