Help me in solving RAIN8TEST problem what should i do after this

My issue

My code

#include <stdio.h>

int main(void) {
int t;
scanf("%d",&t);
while(t--)
{
        int n,x;
        scanf("%d %d",&n,&x);
        int no_rain,rainy_day,total_cost=0;
        
     
}
	return 0;
}


Problem Link: CodeChef: Practical coding for everyone