Tag: programming
The Python way of initializing a list can be clearly expressed as the multiplication operator: * for example, # an array of ten integers, which are all initialized to …
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 …
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 …
July 1, 2012
algorithms, beginner, code, code library, implementation, interview questions, math, programming languages, python, technical
GCD (Greatest Common Divisor), in mathematics, is refered to the largest number that divides two or more non-zero integers without a remainder. For example, the GCD of 8 and …
June 17, 2012
batch script, beginner, code, code library, implementation, programming languages, technical, VBA, vbscript, windows
VBScript has been in use widely on every version of windows. It is said Bill Gates favor VBScript, which may be one of the reasons that it is shipped …