Tag: implementation
Many articles have discussed the variables scopes in Javascript. Today, I will explain it during my own experiments. The javascript has only two scopes, local or global. It does …
The fork() is one of the important methods that allows multiprocess/multitasking in Linux operating system. The following C code can be compiled in Linux. #include <unistd.h> int main() { …
July 11, 2012
algorithms, batch script, beginner, code, code library, implementation, linux, multithreading, programming languages, tricks
In , the implementation of a sleep-sort algorithm is presented via the Python code. This article will shortly presents the implementation in Linux BASH Shell Script, which demonstrates the …
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 …
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 …