Commit Graph

57 Commits

Author SHA1 Message Date
Nicolás A. Ortega
f4ee9872bc
Optimize the algorithm to avoid numbers larger than half. 2016-12-10 14:46:51 +01:00
Nicolás A. Ortega
dd38b53e31
Fixed leaks. 2016-12-10 11:20:01 +01:00
Nicolás A. Ortega
3c8b9922fb
Shorten the long ass `unsigned long long int' to ulli. 2016-12-10 02:20:57 +01:00
Nicolás A. Ortega
cb9e1648e9
No need to use that macro outside a loop. 2016-12-10 02:09:34 +01:00
Nicolás A. Ortega
30703314dd
Forgot it for the main loop as well. 2016-12-10 01:15:52 +01:00
Nicolás A. Ortega
4905391c82
Add more optimizations. 2016-12-10 00:50:23 +01:00
Nicolás A. Ortega
79a9ba11ff
Switch to C, stop using OpenMP, start using GMP. 2016-12-09 23:02:51 +01:00