Codeforces Round #387 (Div. 2), problem: (A) Display Size Solution in C/C++

Codeforces Round #387 (Div. 2), problem: (A) Display Size Solution in C/C++

 

int main(){ long long int x,i; scanf("%I64d",&x); i=sqrt(x); while(x%i){ i--; } printf("%I64d %I64d",i,x/i); }
(Visited 104 times, 1 visits today)

About the Author:

Leave A Comment