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

Input: Consider Input: int elm[100]={0};
int counts=0,num=0;
void Try(int b,int s)
{
	int j;
	for(j=2;j<=num;j++)
	{
		if(j>=elm[s-1])
		{
			if(b%j==0)
			{
				elm[s]=j;
				if(b/j==1)
					counts++;
				else if(b/j<j)
					continue;
				else
					Try(b/j,s+1);
			}
		}
	}
}
int main()
{
	int n,i;
	cin>>n;
	for(i=0;i<n;i++)
	{
		counts=0;
		cin>>num;
		Try(num,1);
		cout<<counts<<endl;
	}
	return 0;
}


Output: 2


Input: Consider Input: int Factor(int, int);
int main()
{
	int n, a, i;
	scanf("%d",&n);
	for (i = 1;i <= n;i++)
	{
		scanf("%d",&a);
		printf("%d\n",Factor(a, 2));
	}
	return 0;
}
int Factor(int a,int p)
{
	int i, j, z = 1;
	if (a < p)
		z = 0;
	else
	{
		for (i = p;i <= a;i++)
		{
			if (a % i == 0)
			{
				z += Factor(a / i, i);
			}
		}
	}
	return z;
}

Output: 2


Input: Consider Input: /*
/???   10(1)
/??     ???
/??     2012?11?26?
/???   ????
*/
int main()
{
	int fenjie(int x, int y);
	int a, n, i;
	cin >> n;
	for(i = 1; i <= n; i++)
	{
		cin >> a;
cout << fenjie(a, 2) << endl;
	}
	return 0;
}
int fenjie(int x, int y)
{
	int b, i, count = 1; // ?????????
	if(x == 1)
		return 0;
	if(x == 2)
		return 1;
	b = sqrt((double) x);
	for(i = y; i <= b; i++)
	{
		if(x % i == 0)   // ?????????????????????count???
		{
			count += fenjie(x / i, i); // ????????????i??????????
		}
	}
	return count;
}


Output: 2