problem link:-https://codeforces.com/problemset/problem/1881/D here we have to choose two element in the array let ai,aj and choose a divisor of ai let x and replace ai=ai/x ans aj=aj*x; after some operation we have to make all the element equal in that array now let consider ...
problem link:-https://codeforces.com/problemset/problem/1881/D here we have to choose two element in the array let ai,aj and choose a divisor of ai let x and replace ai=ai/x ans aj=aj*x; after some operation we have to make all the element equal in that array now let consider a...
problem link:-https://codeforces.com/problemset/problem/1881/D here we have to choose two element in the array let ai,aj and choose a divisor of ai let x and replace ai=ai/x ans aj=aj*x; after some operation we have to make all the element equal in that array now let consider a...
problem link:-https://codeforces.com/problemset/problem/1881/D here we have to choose two element in the array let ai,aj and choose a divisor of ai let x and replace ai=ai/x ans aj=aj*x; after some operation we have to make all the element equal in that array now let consider a...