Category: math
Simulated Annealing (SA) is a meta-hurestic search approach for general problems. It is based on the process of cooling down metals. The search algorithm is simple to describe however …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/1/A Given the size of the area and the size of the flag stone, you are asked to compute the minimal number of flagstones …
Delphi is a power RAD under Win32. I think one of the main strengths is that you can write inline assembly easily, which makes it very powerful and flexible. …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/75/A The input two numbers can be held by 32-bit signed integer. Therefore, it is unnecessary to use arrays to represent numbers as strings. …
The problem is from codeforces: http://www.codeforces.com/problemset/problem/151/A Based on the Note, it is purely a math problem (the equations can be easily derived.) The Python solution can be easily obtained. …