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

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

int f(int n, int m);				//??f:????m????n?????????????????
int main()
{
	int n, num, i;
	cin >> n;						//n???n???
	for(i=0;i<n;i++)
	{
		cin >> num;					//????????num,????????
		cout << f(num, 2) << endl;
	}
	return 0;
}
int f(int n, int m)
{
	int i, count=0;
	if(n==1)
		return 1;					//??n=1?????????1
	for(i=m;i<=n;i++)				//?????i?m?????n??
	{
		if(n%i==0)					//??n??i???????n/i????(???????i)???????f(n/i,i)
			count += f(n/i,i);		//count?????????
	}
	return count;					//??count??
}

Output: 2


Input: Consider Input: int a=1;
int yinzi(int j,int  n)
{   
    for(int i=j;i<n;i++)
	{
		if(n%i==0&&n!=i&&n/i>=i)
			{  
			    a++;
				yinzi(i,n/i);
			}
		
	}
	return 0;
			
}
int main()
{
	int n,s;
	cin>>s;
	for(int j=0;j<s;j++)
	{
		cin>>n;
		for(int i=2;i<=n;i++)
		{
			if(n%i==0&&n/i>=i)
			{
				a++;
		         yinzi(i,n/i);
			}
		}
	    cout<<a<<endl;
	    a=1;
	}
	return 0;
}

Output: 3


Input: Consider Input: 
int ispr(int t) 
{
    int v=(int)sqrt(t*1.0)+1;
    for(int i=2; i<v; i++)
        if(t%i==0)
            return 0;
    return 1;
}


int sum;
void fun(int n,int i) 
{
    if(n==1)
        sum++;
    for (; i<=n; i++)
    {
        if(n%i==0)
            fun(n/i,i);
    }
    return ;
}


int main() {
    int n;
    scanf("%d",&n);
    for (int j=0; j<n; j++)
    {
        int a;
        scanf("%d",&a);
        if(ispr(a)==1) 
        {
            printf("1\n");
            continue;
        }
        
        int res=1;
        for (int i=2; i<=a/2; i++)
        {
            if(a%i==0)
            {
                sum=0;
                fun(a/i,i);
                res=res+sum;
            }
            
        }
        printf("%d\n",res);
    }
    
    return 0;
}



Output: 4