广告屏幕
#include<stdio.h>
#include<math.h>
int main()
{int n,m,a,b,tag;
scanf("%d",&n);
m=(int)(sqrt(n));
for(a=m;a>=1;a--)
{tag=0;
for(b=m;b<=n;b++)
{if(a*b==n)
{printf("%d %d",a,b);
tag++;
break;}}
if(tag==1)
{break;}}}
#include<math.h>
int main()
{int n,m,a,b,tag;
scanf("%d",&n);
m=(int)(sqrt(n));
for(a=m;a>=1;a--)
{tag=0;
for(b=m;b<=n;b++)
{if(a*b==n)
{printf("%d %d",a,b);
tag++;
break;}}
if(tag==1)
{break;}}}