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

[Q]: //***************************************************
//1.cpp ???? ******
//?? ??? 1200018209 ********
//?? 2012-11-27 ******
//***************************************************

int dispose(int , int);

int main()
{
int n,i,p;
cin >> n;
for(i=0;i<n;i++)
{
cin >> p;
cout << dispose(p,2) << endl;
}
return 0;
}

int dispose(int p,int y)
{
int i,sol=1; //?????sol??????
for(i=y ; i<=(int)(sqrt(p)) ; i++)
{
if(p%i==0)
{
sol += dispose(p/i,i); //??????return????????????????
}
}
return sol;
}
[A]: 2

[Q]: int fenjie(int n,int min)
{
int x=0,i;
if(n==1)
return 1;
else
{
for(i=min;i<=n;i++)
{
if(n%i==0)
x=x+fenjie(n/i,i);}
}
return x;}
main()
{int shu;
int number,count=1;
scanf("%d",&number);
while(count<number)
{
scanf("%d",&shu);
printf("%d
",fenjie(shu,2));
count++; }
scanf("%d",&shu);
printf("%d",fenjie(shu,2));

}
[A]: 1

[Q]: /*
* fengjie.cpp
*
* Created on: 2013-11-23
* Author: sony
*/

int sum;

void f(int x,int i){
if (x == 1) sum++;
for(;i<=x;i++)
if (x%i == 0) f(x/i,i);
return;
}

int main(){
int t,a,i=2;
cin>>t;//????????
for (a = 0; a<t ; a++){
int x;
cin >> x;
int ans = 1;
for(i = 2; i<sqrt(x) ; i++){
sum = 0;
if(x%i == 0) f(x/i,i);
ans = ans + sum;
}
cout<<ans<<endl;
}
return 0;
}

[A]:
3