Help me in solving BWALL problem

My issue

can you provide hint

My code

#include <stdio.h>

int main(void) {
	// your code goes here

}


Problem Link: The Great Wall of Byteland Practice Coding Problem - CodeChef