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

[EX Q]: int main()
{
	int f(int a,int min);
	int n,a[150],i,b;
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<n;i++)
	{
		b=f(a[i],2);
		printf("%d\n",b);
	}
	return 0;
}

 
int f(int a,int min)
{ 
	int result=1,i;
	if(a < min)
	{ 
	return 0; 
	} 
	for(i = min;i<a;i++)
	{ 
		if(a % i == 0)
		{ 
		result += f(a/i,i); 
		} 
	} 
	return result; 
} 
[EX A]: 3

[EX Q]: //*************************************************************************
//*????????? *****************************************************
//*??????? 1200012979 **********************************************
//*???2012.11.27 *******************************************************
//*************************************************************************
void breakup(int, int);
int sum;
int main ()
{
	int n, x, count=0;
	cin >> n ;                           //??????
	while( count < n )
	{
		sum = 0 ;
		count++ ;                        //?????
		cin >> x ;                       //??????
        if(x > 3) 
		    breakup(x, 2);                      //????
		cout << sum+1 << endl;           //???????????
	}
	return 0;
}

void breakup( int x, int j )
{
    int i, p, m;
	m = x;                              //???????
	p = sqrt( (double)x ) ;             //p??????????
	for( i = j ; i <= p ; i++ )
       if (m % i == 0 )                 //????????????????
	   {
		   sum++ ;                      //??????
		   x = m / i ;
		   breakup(x, i) ;
	   }
	return ;
}
[EX A]: 1

[EX Q]: int get(int n,int m)//??????????????????n??????m??????
{
	if(n==1)return 1;//??n?1???????????1???
	while(m>=2)//?m?????????????????????????????????????
	{
		if(n%m==0)break;
		--m;
	}
	if(m==1)return 0;//??m?1??????????
	return get(n/m,m)+get(n,m-1);//?????????????????????????????????????n/m??????????
}
int main()
{
	int t;
	cin>>t;
	for(int i=0;i<t;++i)
	{
		int n;
		cin>>n;
		cout<<get(n,n)<<endl;	
	}
	return 0;
}

[EX A]:
1

