Eng An easy one. I chose Octave just to try it out. I had always used Matlab, but since Octave has support for operators that Matlab doesn't I had to try it out. Octave FTW.
a = 2;
for i=1:7830457
a *= 2;
a = mod(a , 10000000000);
end
printf("%.0f\n",mod(a* 28433 +1, 10000000000))
No hay comentarios:
Publicar un comentario