Teacher:This task is to find the number of 'For' loops present in the given cpp program.
Teacher: Now, understand the problem? Solve this instance:
int fun(int m,int n){
//m????n????

//??????????????????????;
if (m>sqrt(n)) return 0;
//????????????
if (n%m==0) return fun(m+1,n)+fun(m,n/m)+1;
else return fun(m+1,n);
//????????????????????????????????????????+1?
//??????????+1
}
//????????????
main(){
int i,x,y;
cin>>x;
for (i=1;i<=x;i++){
cin>>y;
cout<<fun(2,y)+1<<endl;//??a=a???
}
return 0;
}

Student:
1