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.