TASK DEFINITION: This task is to find the number of 'For' loops present in the given cpp program.
PROBLEM: /*
 * 009.cpp
 *
 *  Created on: 2012-11-27
 *      Author: asus
 */
int varieties = 0;//??????


void divide(int forward, int number)//??divide??
{
 int i;
 if (number == 1)//????
    {
  varieties++;//??
 }
 for (i = forward; i <= number; i++)//forward???????,number?????,?forward?????
    {
  if (number % i == 0)//????
        {
	divide(i, number / i);
 }}}

int main()//???
{
	int n = 0, num = 0;
	cin >> n;//????
	for (int i = 1; i <= n; i ++)
		{cin >> num;
	divide(2, num);//??
	cout << varieties << endl;
		varieties = 0;
		}
	return 0;
}

SOLUTION: 2

PROBLEM: int main()
{
	int f(int x,int y);
	int n,i;
	int a[100];
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{
		scanf("%d",&a[i]);
		printf("%d\n",f(a[i],2));
	}
	scanf("%d",&i);
	return 0;
}
int f(int x,int y)
{
	int s,j,k,l,m,n;
	if(x==1) s=1;
	else if(y>x) s=0;
	else {
		for(l=1;l<=x;l++)
		{
			k=0;
			if(x%l==0) k=k+1;
		}
		if(k==2) s=1;
	else 
	{
		s=0;
		for(j=y;j<=x;j++)
		{
		
			if(x%j==0){ s=s+f(x/j,j);}
		}
		
	}
	}
		return s;
}

SOLUTION: 3

PROBLEM: /**
* @file		????.cpp
* @author	??	1000012792
* @date		2010.12.3
*/

int f(int n, int m);				//??f:????m????n?????????????????
int main()
{
	int n, num, i;
	cin >> n;						//n???n???
	for(i=0;i<n;i++)
	{
		cin >> num;					//????????num,????????
		cout << f(num, 2) << endl;
	}
	return 0;
}
int f(int n, int m)
{
	int i, count=0;
	if(n==1)
		return 1;					//??n=1?????????1
	for(i=m;i<=n;i++)				//?????i?m?????n??
	{
		if(n%i==0)					//??n??i???????n/i????(???????i)???????f(n/i,i)
			count += f(n/i,i);		//count?????????
	}
	return count;					//??count??
}

SOLUTION:
2