https://i1.wp.com/eblogarithm.com/wp-content/uploads/2017/01/Codeforces-Round-387-Div-2-problem-A-Display-Size-Solution-in-CC1.png?fit=640%2C360

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 83 times, 1 visits today)



There are no comments

Add yours

Leave a Reply

%d bloggers like this: