Tag: math
The problem is from codeforces: http://www.codeforces.com/problemset/problem/214/A Simple as that, the brute-force can pass the tests. The given ranges for n and m are acceptable for the simple brute-force algorithm. …
This was an interview question from Google. The difficulty is entry level. The question asks how many zeros are there for the numerical result of 1024!, which is 1 …
In , the algorithm is introduced that counts the average number of addition for sum to reach one, which approximates the math constant . The following will count the …
It is said this question is an interview question for some Software Engineer job. The question is like this. In Australia, each family prefer the girls rather than boys. …
July 16, 2012
algorithms, batch script, beginner, brute force, implementation, math, programming languages, technical, tricks, windows, windows command shell
Windows Batch File (*.bat, *.cmd) is probably the most well-known exectuable file formats because of its simplicity, i.e. each line corresponds to a command for shell to execute. This …