Advertisement
a53

DivImpRec

a53
Dec 6th, 2021
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.07 KB | None | 0 0
  1. int DivImpRec(int n)
  2. {
  3. while(n%2==0)
  4. n/=2;
  5. return n;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement