Is it solvable without long arithmetic?

Posted by

Lomir 1 May 2007 00:03

I Solved it with java BigInteger.

Is there any solutions without long arifmetic?

Re: Is it solvable without long arithmetic?

Only with java BigInteger :)

Re: Is it solvable without long arithmetic?

Even if you manage to operate with letters directly, your code will turn into some weird base-26/27 long arithmetics with those letters as digits.

Re: Is it solvable without long arithmetic?

Posted by

r1d1 9 Apr 2010 05:41

I'm solve it with long arithmetics on C++

Re: Is it solvable without long arithmetic?

Python рулит!)