Help me in solving ICL1803 problem

My issue

I dun nip’

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
	

}

Problem Link: Replace and Substring Queries Practice Coding Problem