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

[Q]: int sum=1 ;
int kk(int a,int b)
{
int i;
for(i=b;i>=2;i--)
if(a%i==0)
return a/i;
return 0;
}
int seperate(int a,int b)
{
int i;
for(i=b;i>=2;i--)
{
if(a%i==0&&(a/i)<=i)
{sum++;if((a/i)==2)continue;else seperate(a/i,a/i-1);}
else if((a%i==0)&&((kk(a/i,i))!=0))
{
seperate(a/i,i);
}

}
return sum;
}
int main()
{
int n,i,m;
cin>>n;

for(i=1;i<=n;i++)
{
cin>>m;
cout<<seperate(m,m-1)<<endl;
sum=1;
}
return 0;
}

[A]: 3

[Q]: int s;
void search(int a,int k)
{
if(a==0)
return ;
if(a==1)
{
return;
}
for(int i=2;i<a;i++)
{
if(a%i==0&&a/i>=i&&i>=k&&a/i>=k)
{
s++;
search(a/i,i);
}
}
return ;
}
int main()
{
int n,a;
cin>>n;
for(int i=0;i<n;i++)
{
s=1;
cin>>a;
search(a,1);
cout<<s<<endl;
}

return 0;
}

[A]: 2

[Q]: /*
* 009.cpp
*
* Created on: 2012-11-27
* Author: asus
*/
int varieties = 0;//??????

void divide(int forward, int number)//??divide??
{
int i;
if (number == 1)//????
{
varieties++;//??
}
for (i = forward; i <= number; i++)//forward???????,number?????,?forward?????
{
if (number % i == 0)//????
{
divide(i, number / i);
}}}

int main()//???
{
int n = 0, num = 0;
cin >> n;//????
for (int i = 1; i <= n; i ++)
{cin >> num;
divide(2, num);//??
cout << varieties << endl;
varieties = 0;
}
return 0;
}
[A]:
2