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

[Q]: int f(int i,int t)
{
	if(i<t)
	{return 0;}
	int b=1;
	int a;
	for(a=t;a<i;a++)
	{
		if(i%a==0)
		{b=b+f(i/a,a);}
	}
	return b;
}

int main()
{
	int n;
	scanf("%d",&n);
	int i=0;
	int d[100];
	do
	{
		scanf("%d",&d[i]);
		i++;
	}while(i<n);
	i=0;
	do
	{
		printf("%d\n",f(d[i],2));
		i++;
	}while(i<n);
	return 0;
}
[A]: 1


[Q]: /*
 * 1000012739_34_1.cpp
 *
 *  Created on: 2010-12-3
 *      Author: ???
 *		Title: 1090 ????
 */



int cnt=0;		//????????

void slv(int nm,int pr)		//nm????????pr???????
{
	int i;
	if (nm>=pr)		//???????????
	{
		cnt++;		//??????
		if (pr==1)	//???????????2??
			pr++;
		for (i=pr;i<=nm;i++)	//??????
		{
			if (nm%i==0)		//??nm???
			{
				slv(nm/i,i);	//nm??i???
			}
		}
	}
}

int main()
{
	int n,i,num;
	cin>>n;		//??????
	for (i=1;i<=n;i++)
	{
		cnt=0;		//???????
		cin>>num;	//????
		slv(num,1);	//??cnt
		cout<<cnt<<endl;		//??cnt
	}
}
[A]: 2


[Q]: int main()
{
    int count(int x,int y);
    int i,j,n,a[100],b[100];
    scanf("%d", &n);
    for(i=1;i<=n;i++){scanf("%d", &a[i]);}
    for(i=1;i<=n;i++){
                      b[i]=0;
                      for(j=2;j<=a[i];j++){
                                        b[i]+=count(a[i],j);
                                        }
                      }
    for(i=1;i<=n;i++){printf("%d\n", b[i]);}
    return 0;
}
    
int count(int x,int y)
{
    int c=0,k;
    if(x==y){c=1;}
    if(x%y!=0){c=0;}
    if(x!=y&&x%y==0){
         for(k=y;k>=2;k--){c+=count((x/y),k);}
         }
    return(c);
}

[A]:
5


