some solution algorithms on poj(http://poj.org/)