my solutions to problems on poj.org