Most programs are small enough to be done with long in Java.Pesto wrote:One problem I seem to be running into a lot is overflow. I'm solving most of the problems using C. Are there any good tricks to avoiding overflow?
If it helps, one problem I ran into trouble with was number 14.
But what I did was picked up basic basic ruby. You can dl and install it in 2 minutes, it's that easy. And with basically my C knowledge changed syntactically, I was able to solve probably 70+ of them with Ruby... I didn't even know what a class was at that time.