A set of solutions for poj problems implemented by c/c++/java