This task is to find the number of 'For' loops present in the given cpp program.

int f(int m,int min);					//????????
int main()
{
	int n,i,a[100],sum[100];
	cin>>n;								//??????
	for(i=0;i<n;i++)
		cin>>a[i];
	for(i=0;i<n;i++)
	{
		sum[i]=f(a[i],2);				//??????????????
		cout<<sum[i]<<endl;
	}
	return 0;
}

int f(int m,int min)					/*???????????????????????????
										??????????????*/
{
	int i,sum=0;
	if(m==min||m==1)					//???????????????????1???1?					
		return 1;
	else if(m<min)						//????????????????????
		return 0;
	else if(m>min)						//??????????????????????????????????
	{	for(i=min;i<=m;i++)
			if(m%i==0)
				sum+=f(m/i,i);
		return sum;
	}
}
3

int sum=0;

void f(int x, int i)
{
	double m=sqrt(x);
	if(i<m)
	{
	if(x%i==0)
	{
		sum++;
		f(x/i,i);
	}
	f(x,i+1);
	}

	if(fabs(i-m)<0.00000001)
		sum++;



}


int main()
{
	int x,i,n;
	scanf("%d",&n);

	for(i=0;i<n;i++)
	{scanf("%d",&x);
	sum=0;
	f(x,2);

	printf("%d\n",sum+1);
	}
	return 0;

}

1

int num=0;
int judge1(int n)
{
	int i;
	if(n==2||n==3||n==5)
		return 1;
	if(n==4)
		return 0;
	for(i=2;i*i<n;i++)
	{
		if(n%i==0)
		{return 0;break;}
	}
	if(i*i>n)
		return 1;
}
void divide(int n,int d)
{
	for(int i=d;i*i<=n;i++)
	{
		if(n%i==0)//&&judge1(i))
		{
			num++;
			divide(n/i,d);
		}
		d++;
	}
}
int main()
{
	int n,m;
	cin>>n;
	while(n)
	{
		n--;
		cin>>m;
		num=1;
		divide(m,2);
		cout<<num<<endl;
	}
	return 0;
}

2