Author: ACMer
July 10, 2012
beginner, code, code library, HTA, implementation, programming languages, tools / utilities, VBA, vbscript, windows
My girlfriend was asking me several times before that she needs a handy tool to know how many days are before her due-date and in the future she needs …
In and , the interesting equations are introduced to compute the math constant . Let’s review that the following equation: It can be also equivalent to the following: Compared …
In , mathematical constant is introduced. Below, a simple equation is presented to compute its value. , when . Therefore, is a infinity loopless irrational number. #!/usr/bin/env python from …
, the base of the natural logarithm (e.g. ) can be expressed as the following equation: The Euler’s formula involves , which is: The Euler’s Identity is the special …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/26/A The input range is small which means even the worst brute-force methods can pass the test. The straightforward implementation is . Defining a …