ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1547. Password Search

Show all messages Hide all messages

I Solved it with java BigInteger.
Is there any solutions without long arifmetic?
Re: Is it solvable without long arithmetic? Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 3 May 2007 14:54
Only with java BigInteger :)
Re: Is it solvable without long arithmetic? Denis Koshman 14 Jul 2008 21:07
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.
I'm solve it with long arithmetics on C++
Python рулит!)