Help ramu probliem

#include
using namespace std;
int main()
{
int c1,c2,c3,c4,n,m,a[10],b[10],k=0,l=0,t,h[9];
cin>>t;
for(int j=0;j<t;j++)
{

cin>>c1>>c2>>c3>>c4;
cin>>n>>m;
for(int i=0;i<n;i++)
{
	cin>>a[i];
{
	if((a[i]*c1)>c2)
	{
		l=l+c2;
	}
	else
	l=l+(a[i]*c1);
}
}

for(int i=0;i<m;i++)
{
	cin>>b[i];
			{
	if((b[i]*c1)>c2)
	{
		k=k+c2;
	}
	else
	k=k+(b[i]*c1);
}
}
h[j]=((l<c3?l:c3)+(k<c3?k:c3))<c4?((l<c3?l:c3)+(k<c3?k:c3)):c4;

}
for(int k=0;k<t;k++)
{
cout<<h[k]<<endl;
}
}

how to remove run time error with reference to this code???
what

Hi @singhalharsh10081999

Have you taken the online Java or C++ course?

Hi Harsh
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.