NO DOC.
NO DOC
#include <iostream>
#include <stdlib.h>
#include <givaro/givintprime.h>
#include <givaro/givtimer.h>
#include <givaro/givinit.h>
int main(int argc, char** argv)
{
int offset = 0;
if (argc > ++offset) a =
Integer(argv[offset]);
else cin >> a;
if (argc > ++offset) b =
Integer(argv[offset]);
else cin >> b;
IP.gcd(GG,a,b);
for ( ; argc > ++offset; ) {
IP.gcd(g, GG, a);
GG = g;
}
cout << GG << endl;
cerr << tim << endl;
return 0;
}
Integer Domain.
Definition: givinteger.h:31
This is the Integer class.
Definition: gmp++_int.h:160
Timer.
Definition: givtimer.h:129
void start()
Start timer.
Definition: givtimer.C:190
void stop()
Stop timer.
Definition: givtimer.C:198
void clear()
Clear timer.
Definition: givtimer.C:181
Namespace in which the whole Givaro library resides.
Definition: all_field.C:23