daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Sep 20th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int mdc(long long int a, long long int b){
  2.   if (b==a){
  3.     return a;
  4.   }
  5.   if (b>a){
  6.     b -= a;
  7.     return mdc(a, b);
  8.   }else if(a>b){
  9.     a -= b;
  10.     return mdc(a, b);
  11.   }
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top