Help me in solving HAPPYSTR problem

My issue

The solution video is about a completely different problem ???

My code

#include <iostream>
using namespace std;

int main() {
	// your code goes here
	return 0;
}

Learning course: Strings using C++
Problem Link: Chef and Happy String Practice Problem in - CodeChef