Help me in solving TREECOINS problem

My issue

code

My code

#include <stdio.h>

int main(void) {
	// your code goes here

}


Learning course: Data Structures & Algorithms using C
Problem Link: https://www.codechef.com/learn/course/ciet-data-structures-c/CIETDSC23/problems/TREECOINS