Help me in solving WATSCORE problem

My issue

how can solve that problem

My code

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

int main() {
	// your code goes here

}

Problem Link: That Is My Score! Practice Coding Problem