Category: tricks
, 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 …
July 2, 2012
algorithms, beginner, brute force, code, implementation, math, programming languages, python, technical, tricks
This article will describe a quick and easy implementation of a algorithm that divides two integers with a high precision. Normally, an array is required to hold the results …
The problem is from codeforces: http://codeforces.com/problemset/problem/199/A There is no way you could get it wrong for this easy problem. I hope nobody would actually output the message. All the …
BASH script under linux supports the for loops. There are quite a few ways to write for loops. 1. List the Values for I in 1 2 3; do …
Sed (Stream Editor) is probably the most popular programming utility that handles the text stream under Linux. It’s very powerful and can be used to very complex daily jobs. …