February 18, 2014
8 bit, algorithms, hardware, math, monte carlo, Monte Carlo Simulation, Monte Carlo Simulation Algorithm, Nintendo Entertainment System, Subor, vbscript
Have you ever wondered how fast is a 8-bit CPU (such as 6502 used by famicom and the clones)? Well, i can’t have a direct comparison for you for …
We all know the area of a circle is computed as . Suppose the radius is ONE for simplicity to compute the value of , we can have the …
February 15, 2014
32 bit, algorithms, beginner, c / c++, code, code library, implementation, linux, math, programming languages, windows
If you are a linux user, you may know this ‘useless’ command factor which will print the prime factors of given positive integers on command line. On execution, the factor will …
The problem is from SPOJ Online Judge The puzzle asks to you check if the given sequence of integers consists of strictly two parts: the first part descending and …
The problem is from SPOJ Online Judge Since the input of p and q is restricted to 0 and 1, so we can just check its string value. Bit XOR …