robatino
I've tried following your instructions but my code didn't work... Am I on the right track?
Code:
#include <stdio.h>
int main ()
{
unsigned long long number = 28433;
for (int i = 0; i <= 7830457; i++)
{
number = (number << 1) % 10000000000;
}
number++;
printf ("%d", number);
return 0;
}
ssharish2005
I've copied all the .lib files to the lib directory and all .h files to the include directory but when I tried to compile a code that was in project euler's forum I get a bunch of errors...
Code:
Error 42: Symbol Undefined ___gmpz_clear
Error 42: Symbol Undefined ___gmpz_get_str
Error 42: Symbol Undefined ___gmpz_add
Error 42: Symbol Undefined ___gmpz_ui_pow_ui
Error 42: Symbol Undefined ___gmpz_init
Inside the zip file was a dll file wich I didn't copy to any folders... Maybe the error is there.
Mortissus
I don't know where and how to use these comands
E é sempre bom encontrar um brasileiro por ai =)