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

Input: Consider Input: /*
 * wanyi.cpp
 *
 *  Created on: 2012-11-20
 *      Author: 7
 */
int t=1;
void fen(int n,int i)
{
	for(i=i;i*i<=n;i++)
	{
		if(n%i==0)
		{
			fen(n/i,i);
			t++;
		}
	}
}
int main()
{
	int k;
	cin>>k;
	while(k--)
	{
		int n;
		cin>>n;
		t=1;
		fen(n,2);
		cout<<t<<endl;
	}
}


Output: 1


Input: Consider Input: 
int sum=0;//?????????????
void count(int N,int i)
{
    if(N==1) sum++;//??N??????i?????N???1????????????????sum??1
    while(i<=N){
        if(N%i==0) count(N/i,i);
        i++;//N??????????????i?
    }
    return ;
}
int main()
{
    int T=0;//??????
    cin >> T;
    while(T--)
    {
        int N=0;//?????
        cin >> N;
        int i=2,total=1;//???????2???a=a????????total?????1
        while(i<=N/2)
        {
            if(N%i==0)
            {
                sum = 0;
                count(N/i,i);
                total+=sum;
            }//??N??????????????????????
            i++;
        }
        cout<<total<<endl;
    }
    return 0;
}


Output: 0


Input: Consider Input: 
int Factorization(int n,int k){	//????????
	int sum=0;	//??????sum??????????
	if (n<k){	//?????????k
		return 0;	//??0
	}
	if (n%k==0){	//????????k???
		if (n==k){	//?n?k???
			return 1;	//??1
		}
		else{
			sum=sum+Factorization(n,k+1)+Factorization(n/k,k);	//??????????
		}
	}
	else{
		sum=sum+Factorization(n,k+1);	//?????????k????????
	}
	return sum;	//??sum??
}

int main(){	
	int t,i,a;	//???????t???????i??????a???????
	cin>>t;	//????????
	for (i=1;i<=t;i++){	//?????????
		cin>>a;
		cout<<Factorization(a,2)<<endl;
	}
	return 0;
}



Output: 1


