Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void FRadical(int n,int &x,int &y)
- {
- for(y=1;y<=n;++y)
- if(n%y==0)
- if(sqrt(n/y)==(int)(sqrt(n/y)))
- {
- x=sqrt(n/y);
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement