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

Example Input: /*
* 11.27.cpp
*
* Created on: 2011-11-27
* Author: Administrator
*/
int coun; // ???????
void depart(int n,int i)
{
int j;
if (n==1) coun++ ;
else for (j=i;j<=n;j++) //???j?? ??????
if (n%j==0) {depart(n/j,j);}
}

int main (){
int n,j;
cin>>n;
int b[n]; //???????
for(j=0;j<n;j++)
cin>>b[j];
for(j=0;j<n;j++)
{
coun=0; //?????
depart(b[j],2);
cout<<coun<<endl;
}
return 0;
}

Example Output: 3

Example Input: int a[40000]={0};
void fun(int n,int j,int k){
int i;
for(i=j;i<=sqrt(n);i++){
if(n%i==0){
j=i;
a[k]++;
fun(n/i,j,k);
}
}

}

int main()
{
int n;
int m[40000]={0};
int i;
scanf("%d",&n);
for(i=1;i<=n;i++){ scanf("%d",&m[i]);}
for(i=1;i<=n;i++){fun(m[i],2,i);}
for(i=1;i<=n;i++){ printf("%d
",a[i]+1);}

return 0;
}

Example Output: 4

Example Input: //????????
//??????
int f(int a,int m) //???a???????m?????????
{
if(a<m)
return 0;
int kind=1;
for(int i=m;i<a;i++)
{
if(a%i==0) //??????????????
kind=kind+f(a/i,i);
}
return kind;
}
int main()
{
int n,a[100];
cin>>n;
for(int i=0;i<n;i++) //??n???
cin>>a[i];
for(int i=0;i<n;i++)
cout<<f(a[i],2)<<endl; //????
return 0;
}

Example Output:
3