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

Input: Consider Input: /*
 * 1090 ????.cpp
 *
 *  Created on: 2010-11-26
 *      Author: ???
 */
int f(int a,int min)               //???a???????min??????
{
	int j,num;                     //j????num????
	if (a<min) return 0;           //??a??min?????????????
	num=1;                         //???????
	for (j=min;j<a;j++)            //????????
		if (a%j==0) num=num+f(a/j,j);           //???????????
	return num;                    //????
}

int main()
{
	int n,i,out,a;                //n???????out???????a??????
	cin>>n;
	for (i=0;i<n;i++)
	{
		cin>>a;
		out=f(a,2);               //??????
		cout<<out<<endl;
	}
	return 0;
}

Output: 2


Input: Consider Input: //????????
//??????
int f(int a,int m)                 //???a???????m?????????
{ 
if(a<m) 
return 0; 
int kind=1; 
for(int i=m;i<a;i++)
{ 
if(a%i==0)                         //??????????????
kind=kind+f(a/i,i); 
} 
return kind; 
} 
int main()
{
	int n,a[100];
	cin>>n;
	for(int i=0;i<n;i++)     //??n???
		cin>>a[i];
	for(int i=0;i<n;i++)
		cout<<f(a[i],2)<<endl;    //????
	return 0;
}


Output: 3


Input: Consider Input: /*
 * part.cpp
 *
 *  Created on: 2012-11-25
 *      Author: Lsj
 */

int disintegerate(int a, int b)//?????a????
{
	if (a == b || b == 1)//a b????b=1??????
		return 1;
	if (a > b)//a??b?b???1????0???0
		return 0;
	int ans = 0;//ans???
	for (int i = a; i <= b; i++)//?a?b??
	{
		if (b % i == 0)//b??????
			ans = ans + disintegerate(i, b / i);//??????
	}
	return ans;//??ans
}

int main()//main??
{
	int Time;
	cin >> Time;//????
	while (Time > 0) {
		int n;
		cin >> n;//??n
		cout << disintegerate(2, n) << endl;//????
		Time--;//Time?1
	}

	return 0;
}//??



Output: 1