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

[Q]: int s=0,p;
int a[100];
void factor(int m,int n,int t){
	int i;
	for(i=2;i<=(int)sqrt(n);i++)
		if((n%i==0)&&(i>=m)){
			s++;
			factor(i,n/i,t+1);
		}
	return;
}
int main(){
	int i,j=0,k;
	scanf("%d",&j);
	for(k=0;k<j;k++)
		scanf("%d",&a[k]);
	for(k=0;k<j;k++){
		p=a[k]; s=0;
	for(i=2;i<=(int)sqrt(p);i++)
		if(p%i==0){
		s++;
		factor(i,p/i,2);
		}
		a[k]=s;
	}
	for(k=0;k<j;k++)
		printf("%d\n",a[k]+1);
	return 0;
}
[A]: 5


[Q]: 
int f(int a,int min)//???a???????min?????????
{
	int i;
	if(a < min)//??????
	{ 
      return 0; 
    } 
    int result = 1; 
    for(int i = min;i<a;i++)//??????
	{ 
    if(a % i == 0)
	{ 
      result += f(a/i,i); 
    } 
    } 
    return result; 
} 
int main()
{
	int n,a;//????
	cin>>n;
	while(cin>>a)//????
	{
		cout<<f(a,2)<<endl;//????
	}
	return 0;
}


[A]: 1


[Q]: int num;
void divide(int n,int n2)
{
	int i,m1;
	m1=(int)sqrt((double)n);
	for(i=n2;i<=m1;i++)
	{if(n%i==0)
	{num++;divide(n/i,i);}//?????????????????????????????
	}
}
int main()
{
	int n,i,m;
	cin>>n;
	for(i=0;i<n;i++)
	{
		num=1;
		cin>>m;
		
		divide(m,2);
		cout<<num<<endl;
	}
	return 0;
}
[A]:
2