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

Example Input: //============================================================================
// Name : 9.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

int sum=0;//????sum

void devide(int a,int b)//??
{
if(a==1)
sum++;
else
{
if(a>=b)
devide(a,b+1);
if(a%b==0)
devide(a/b,b);
}
}

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

Example Output: 1

Example Input: int elm[100]={0};
int counts=0,num=0;
void Try(int b,int s)
{
int j;
for(j=2;j<=num;j++)
{
if(j>=elm[s-1])
{
if(b%j==0)
{
elm[s]=j;
if(b/j==1)
counts++;
else if(b/j<j)
continue;
else
Try(b/j,s+1);
}
}
}
}
int main()
{
int n,i;
cin>>n;
for(i=0;i<n;i++)
{
counts=0;
cin>>num;
Try(num,1);
cout<<counts<<endl;
}
return 0;
}

Example Output: 2

Example Input: int fenjie(int,int);

int main()
{
int times,k,num;
cin>>times;
for(k=1;k<=times;k++)
{
cin>>num;
cout<< fenjie(num,1)<<endl;
}

return 0;
}

int fenjie(int x,int y)
{
int i,a=1;
if(x<y) return 0;
if(x==y) return 1;
if(x>y)
{
if(y==1)
{
for(i=y+1;i<=x;i++)
{
if(x%i==0) a=a+fenjie(x/i,i);
}
}
else
{
for(i=y;i<=x;i++)
{
if(x%i==0) a=a+fenjie(x/i,i);
}
}
return a;
}

}

Example Output:
3