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

int times;
void fenjie(int m,int k)
{
	int i;
	{
		for(i=k;i<=sqrt(m);i++)
		{
			if(m%i==0)
			{
				fenjie(m/i,i);
			}
		}
	}
	times++;
}
int main()
{
	int n,i;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		int m;
		times=0;
		scanf("%d",&m);
		fenjie(m,2);
		printf("%d\n",times);
	}
}
2


int main()
{
	int f(int p,int q,int t);

	int n,i;
	int g[100];
	scanf("%d",&n);
	for(i=0;i<n;i++)
		scanf("%d",&g[i]);
	for(i=0;i<n;i++)
	{
		printf("%d\n",f(2,g[i],1));
	}


	return 0;
}

int f(int p,int q,int t)
{
	int h[100][100];
	int i,k=0;
	for(i=p;i*i<=q;i++)
	{
		k=0;
		if(q%i==0)
		{
			h[k][0]=i;
			h[k][1]=q/i;
			k++;
			if(k!=0)
			{
				t=f(h[k-1][0],h[k-1][1],t);
			}
			
		}
		t=t+k;
	}
	return t;
}
3

int num(int a,int b,int c)//??????????
{
	int sum=0,j;//sum????
	if(a>c)return 0;//???????????????0
	if(b==1)return 1;//????????????????
	for(j=a;j<=c;j++)//?????????????
		if(c%j==0)sum=sum+num(j,b-1,c/j);
	return sum;
}
int main()
{
	int k,n,m,e=0,i;//e??????
	cin>>n;
	while(e<n)
	{
		cin>>m;
		k=0;//k??m????????????????
		int f=m;
		for(i=2;i<=f;i++)
			if(f%i==0)
			{
				k++;
				f=f/i;
				i=1;
			}
		cout<<num(1,k,m)<<endl;//????????
		e++;
	}
	return 0;
}


2