Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'gcd'

1735986 - Sonicadvance1: grand central gcd dispatch
  1. #include <iostream>
  2. #include <dispatch/dispatch.h>
  3.  
  4. const int count = 50;
  5. uint64_t our_results;
  6.  
  7. int do_work(int _i)
  8. {
  9.  
1242495 - (Extended) Euclidean Algorithm I: java gcd euclid
  1. /**
  2.          * Euclidean algorithm to find the greatest common divisor (gcd)
  3.          * @param a
  4.          * @param b
  5.          * @return
  6.          */
  7.         public static int gcd(int a, int b){
  8.                 if(b == 0) return a;
  9.  
1242489 - (Extended) Euclidean Algorithm: java gcd euclid
  1. /**
  2.          * Euclidean algorithm to find the greatest common divisor (gcd)
  3.          * @param a
  4.          * @param b
  5.          * @return
  6.          */
  7.         public static int gcd(int a, int b){
  8.                 if(b == 0) return a;
  9.  
fantasy-obligation
fantasy-obligation