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

[EX Q]: /*
* 1.cpp
*
* Created on: 2010-12-1
* Author: hanzhe
*/

int min(int a,int b){ //????
if(a>b)return b;
else return a;
}
int f(int n,int s){ //???????s?n???????
int k=0,i;
if(n==1)return 1;
else if(s==1)return 0;
else if(s>n)return f(n,n);
else {for(i=2;i<=s;i++)
if(n%i==0)k=k+f(n/i,min(i,s));
return k;
}
}
int main(){ //????
int n,m;
cin>>n;
while(n>0){
cin>>m;
cout<<f(m,m)<<endl; //??
n--;
}
return 0;
} //????

[EX A]: 1

[EX 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));

}
[EX A]: 1

[EX Q]: int f(int x,int y);// ??????x????????y?????????????????
int main()
{
int n,i,j,a,sum;
cin>>n;
for(i=1;i<=n;i++)//??
{
cin>>a;
sum=0; //???
for(j=1;j<=a;j++)
sum+=f(a,j); //??

cout<<sum<<endl; //??

}
return 0;
}
int f(int x,int y)//???
{
int i,num=0;
if(y==1)
return 0;
else
{
if(x%y!=0)
return 0;
else if(x==y)
return 1;
else
{
for(i=y;i>=1;i--)
num+=f(x/y,i); //??

return num;
}

}
}
/*
????????????
?100??
sum=????
f(100,100)=1 ??100=100
f(100,99) =0
f(100,98)=0
....
....
f(100,50)=f(2,50)+f(2,49)+........+f(2,2)+f(2,1) =1 ?????50????f(2,2)?1,??????
....
....
f(100,2) = f(50,2)+f(50,1)=f(25,2)+0=0
f(100,1) =0
????? ??????????????
*/
[EX A]:
3