You will be given a definition of a task first, then some input of the task.
This task is to find the number of 'For' loops present in the given cpp program.

/*
 * ????@.cpp
 *
 *  Created on: 2011-11-27
 *      Author: Administrator
 */
int num0;//????
int factor(int x, int y)//?????
{
	int countn = 1;//????????1
	if ( x == 1 )
		return 0;
	if ( x == 2 )
		return 1;//??1,2?????
	for ( int i = y; i <= sqrt(x); i ++)
		if ( x % i == 0 )
			countn += factor(x / i, i);//?????
	return countn;
}
int main()//?????
{//?????
	int n, j;//????
	cin >> n;//????
	for ( j = 1; j <= n; j++)
	{
		cin >> num0;//???????
		cout << factor(num0, 2) << endl;//??????
	}
	return 0;//???????????????????
}//????


Output:
2