注意long long

```#include<stdio.h>
int main ()
{
	int n=0;
	int a,b;
	int kk[6]={0};
	int i,j,k;
	long long min=100000000000;
	scanf("%d",&n);
	for(i=0;i<3;i++)
	{
		scanf("%d %d",&a,&b);
		if(n%a==0)
		{
			kk[i]=n/a*b;
		}
		else
		{
			kk[i]=(n/a+1)*b;
		}
		if(kk[i]<min)
		min=kk[i];
	}
	printf("%lld\n",min);
	return 0;
}