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); }

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); }

More from author

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related posts

Advertismentspot_img

Latest posts

Quantum Stocks Fall Tuesday as Rates Force Rotation: IonQ Down 6%, D-Wave Drops 6%, Rigetti Falls 5%

Emerging technology shares faced severe downward pressure on Tuesday as a sharp uptick in long-dated Treasury yields triggered an aggressive rotation across Wall Street....

We Tested Viral Kitchen Gadgets Here Is What You Must Know

📢 As an Amazon Associate, I earn from qualifying purchases.I stumbled across this while desperately trying to fix a recurring problem in my routine....

Lane Kiffin reveals how NIL impacts player motivation, says LSU has ‘evolved’ in new era

College football has undergone a seismic shift over the past few years, evolving from a strictly amateur framework into a complex landscape defined by...

Want to stay up to date with the latest news?

We would love to hear from you! Please fill in your details and we will stay in touch. It's that simple!