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

Input: Consider Input: int tot;

void find(int m,int n)
{
    int i,j,k;
    if (m==1) tot=tot+1;
    else 
    {
        for (i=n;i<=m;i++)
        if(m%i==0)
           find (m/i,i);         
    }
}

int main()
{
    int i,j,k,m,n;
    cin >>n;
    for (i=1;i<=n;i++)
    {
        tot=0;
        cin >>m;
        find(m,2);
        cout <<tot<<endl;    
    }    
    cin >>n;
    return 0;
}


Output: 2


Input: Consider Input: int num=0;
void f(int x,int y)
{
    num++;
    for(int j=y;j*j<=x;j++)
    {
           if(x%j==0)
             f(x/j,j);
    }
}
int main()
{
    int n;
    cin>>n;
    int a[1100];
    for(int i=1;i<=n;i++)
    {
            num=0;
            cin>>a[i];
            f(a[i],2);
            cout<<num<<endl;
            
    }
        return 0;
}



Output: 2


Input: Consider Input: /*************************************************************************************************************
* @file .cpp
* @author ????
* @date 
* @description
*         ????
*/

int i;
int fenjie( int x, int t)
{
	int j;
	if(x == 1 || x == 2)
		return 1;
	int s = 1;
	for (j = t; j <= sqrt(x); j++)
	{
		if (x % j == 0)
			s += fenjie((x / j), j);
	}
	return s;
}

int main()
{
	int n, a[100],x,t;
	cin >> n;
	for (i = 0; i < n; i++)
	{
		cin >> x;
		a[i] = fenjie(x,2);
	}
	for(i = 0; i < n; i++)
		cout << a[i] << endl;
	return 0;
}


Output: 3


