Definition: This task is to find the number of 'For' loops present in the given cpp program.
Input: /*
 * 35_1.cpp
 *????????????
 *  Created on: 2010-12-3
 *      Author: 1000012877
 */
int n,sum;//?????n??????????sum????????
int fenjie(int min,int max)//??????????????????????????min???max?????
{ int i;//????????????????
for (i=min;i<=sqrt(max);i++){//i ?????????????
	if (max%i==0&&i<=max/i){
		sum++;//?????????i??????1
		fenjie(i,max/i);}//???????????max??????????
if(i>max/i) break;}
return sum;
}
int main() {
	int i,k;
cin>>k;//k?????????
for (i=0;i<k;i++) {
	cin>>n;
	sum=1;//??????????1
    sum=fenjie(2,n);//?????????
	cout<<sum<<endl; }
return 0; }




Output:
2