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

Example Input: //*****************************************************
//*?????????.cpp                             *
//*??????                                       *
//*?????2010?12?8?                            *
//*????????????????                   *
//*****************************************************
int answer=0;//???????
int a=2;//???2????
void f(int,int);//?????
int main()//???
{
	int n=0;
	int i=0;
	int data[100]={0};
	cin>>n;//????
	for(i=0;i<n;i++)
	{
		cin>>data[i];
	}
	for(i=0;i<n;i++)
	{
		f(data[i],a);
		cout<<answer<<endl;
		answer=0;//??
	}
}
void f(int m,int n)//???
{
	int i=0;
	if(m==1)//??????1 ?????????
	{
		answer=answer+1;
	}
	for(i=n;i<=m;i++)//???2?????
	{
		if(m%i==0)
		{
			f(m/i,i);
		}
	}
}
Example Output: 3

Example Input: /*1090 ????*/ 



int num;

void divide(int a,int k)
{
	int i;
	if(a==1) num++;//?????????????? 
	for(i=k;i<=a;i++)//???????? 
	    if(a%i==0) divide(a/i,i);
}

int main()
{
	int t;
	cin>>t;
	while(t--)
	{
			int n;
			cin>>n;
			num=1; 
			int i;
			for(i=2;i*i<=n;i++)
				if(n%i==0) divide(n/i,i);  
			cout<<num<<endl;
	}
    return 0;
}
Example Output: 2

Example Input: /*
 * 35_1.cpp
 *????????????
 *  Created on: 2010-12-3
 *      Author: 1000012877
 */
int n,sum;//?????n??????????sum????????
int fenjie(int min,int max)//??????????????????????????min???max?????
{ int i;//????????????????
for (i=min;i<=sqrt(max);i++){//i ?????????????
	if (max%i==0&&i<=max/i){
		sum++;//?????????i??????1
		fenjie(i,max/i);}//???????????max??????????
if(i>max/i) break;}
return sum;
}
int main() {
	int i,k;
cin>>k;//k?????????
for (i=0;i<k;i++) {
	cin>>n;
	sum=1;//??????????1
    sum=fenjie(2,n);//?????????
	cout<<sum<<endl; }
return 0; }




Example Output:
2