Volume of n-ball

If we denote the Cartesian coordinate of a -dimensional Euclidean space by a -vector , then a -ball centered at the origin with radius is the set of points that satisfy [more]

Simultaneous Equations in Two Unknowns

Consider this problem: A list of distinctive integers in random order is provided. The integer is in the range of to and there are integers provided, i.e. one integer in is not in the provided list. Find that number in space and time. [more]


C++11 came out for a while and recently I did some experiment with it. The most interesting feature in C++11 to me is the standardization of threading syntax in the language. Before that, we can only use pthread library for threading. [more]