Help me in solving USELEC problem

My issue

Not able to solve

My code

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

int main() {
	// your code goes here

}

Problem Link: Elections Practice Coding Problem