突然发现这个
/*
EUCLIDEAN
*/
#include <iostream>
using namespace std;
unsigned int Gcd(unsigned int a, unsigned int b)
{
unsigned int temp;
while (b != 0)
{
temp = a % b;
a = b;
b = temp;
}
return a;
}
/*
EUCLIDEAN
*/
#include <iostream>
using namespace std;
unsigned int Gcd(unsigned int a, unsigned int b)
{
unsigned int temp;
while (b != 0)
{
temp = a % b;
a = b;
b = temp;
}
return a;
}