use algorithmatic.com's in-browser integrated-development-environment here. The IDE offers syntax-highlighting, realtime validation, syntax-autocompletion, autocompletion for external-calls, interpreter and basic debugging.
Account
signin
algorithmatic.com uses OpenID - that means you don't need to register, probably you already have an OpenID, you just need to enable it. Click here to sign in
To TriVe. If numbers are big, they will be converted into exponential form. If we want to get big numbers we need something like Python as I understand...
@Trive & @Pavel
To handle bigger numbers is not an algorithm problem but a language/platform problem. In this case, we can easily improve the code to use BigInteger which is part of Algorithmatic to handle integers of arbitrary size.