by Alvaro » Sat Oct 23, 2004 5:43 pm
Done. 100% genius. It has been fun.
For large numbers, I mostly used `bc -l' from the Linux command line, or `long long' (64 bits) in gcc. For two of the problems I actually needed to do non-trivial computations with very long numbers. I installed the gmp library and did them in very little time.
I am pleasantly surprised at how neat mpz_class is. I also used mpq_class for one of the problems. The last time I used gmp was about seven years ago, and they didn't have such niceties.
Anybody needs help with a particular problem?
Last edited by
Alvaro on Sat Oct 23, 2004 5:58 pm, edited 1 time in total.