add poj2385, simple dp, not code in an easy way