my answers to 编程之美 in Java