TASK DEFINITION: This task is to find the number of 'For' loops present in the given cpp program.
PROBLEM: int f(int x,int y){//x??????y????????
	if((int)pow(x,0.5)<y)return 1;//??x^0.5???y??1
	int d=1;
	for(int i=y;i<=(int)pow(x,0.5);i++)//??i<=x^0.5,??????
		if((x%i)==0)
			d+=f(x/i,i);//??
	return d;
}
int main(){
    int n,m;
    cin>>n;//??
    for(int k=1;k<=n;k++){
    	cin>>m;
    	cout<<f(m,2)<<endl;//????
    }
	return 0;
}

SOLUTION: 2

PROBLEM: int num=0;
int sum(int a,int i)
{
	
	if(a==1)
	{
		num++;
	}
	else
	{
		while(i<=a)
		{
			if(a%i==0)
			{
				sum(a/i,i);
			}
			i++;
		}
	}
	return num;
}
int main()
{
	int a,t,j,i,count;
	cin>>t;
	for(j=0;j<t;j++)
	{
		count=1;
		cin>>a;
		i=2;
		while(i<=(a/2))
		{
			if(a%i==0)
			{
				num=0;
				sum(a/i,i);
				count=count+num;
			}
			i++;
		}
		cout<<count<<endl;
	}
	
	return 0;
}





       
      
    

SOLUTION: 1

PROBLEM: 

int factor(int a,int min)
{
	int count=0;
	for(int i=min;i<=a;i++)
	{
		if(i==a)
		{
			count+=1;
		}
		if(a%i==0)
		{
			count+=factor(a/i,i);
		}
	}
	return count;
}
int main()
{
	int n;
	cin>>n;
	while(n--)
	{
		int a;
		cin>>a;
		int result=factor(a,2);
		cout<<result<<endl;
	}
	return 0;
}


SOLUTION:
1

