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); }
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); }
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); }
We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!
© tagDiv | All rights reserved | Made with Newspaper Theme

