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

Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through these links, eBlogarithm may earn a commission at no extra cost to you. Prices and availability are subject to change.

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

📦 Looking for Codeforces Round 387 Div Problem Display? Check the best deals on Amazon.

🛒 Shop Codeforces Round 387 Div Problem Display on Amazon

As an Amazon Associate, eBlogarithm earns from qualifying purchases. Prices and availability are subject to change.

Affiliate Disclosure: This post contains Amazon affiliate links. If you purchase through these links, eBlogarithm may earn a commission at no extra cost to you. Prices and availability are subject to change.

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

📦 Looking for Codeforces Round 387 Div Problem Display? Check the best deals on Amazon.

🛒 Shop Codeforces Round 387 Div Problem Display on Amazon

As an Amazon Associate, eBlogarithm earns from qualifying purchases. Prices and availability are subject to change.

More from author

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related posts

Advertismentspot_img

Latest posts

Yongxing YogasuitFactory Seamless Thermal Underwear For Winter

When winter arrives, dressing for the freezing weather often feels like an uncomfortable compromise between staying warm and retaining natural freedom of movement. Bulky...

How Viral Kitchen Gadgets Is Quietly Changing the Game

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

Lil Durk Found Not Guilty in Federal Murder-for-Hire Trial

In a dramatic conclusion to one of the hip-hop community's most closely watched legal battles, Chicago rapper Lil Durk has been found not guilty...

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!