Help me in solving ARRGAME2 problem

My issue

My code

#include <iostream>
using namespace std;

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

Problem Link: ARRGAME2 Problem - CodeChef