Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void FRadical(long long n, int & x, int & y) {
- long long z;
- float l;
- bool gasit = 0;
- y = 1;
- while (!gasit) {
- z = n;
- if (z % y == 0) {
- z = z / y;
- l = sqrt(z);
- if (l == int(l)) {
- gasit = 1;
- break;
- }
- y++;
- } else y++;
- }
- x = l;
- }
- Citește mai multe pe Brainly.ro - https://brainly.ro/tema/6535287#readmore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement