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

/*
 * 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
	}
}
2

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

int f(int a,int min);
int main()
{
	int n,i,a;
	cin>>n;
	for(i=0;i<n;i++){
		cin>>a;
		printf("%d\n",f(a,2));}
	return 0;
}
int f(int a,int min)
{ 
	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; 
} 

2

