摘要:
# UVA 10653.Prince and Princess
## 题目
In an n * n chessboard, Prince and Princess plays a game. The squares in the chessboard are numbered 1, 2, 3 ... n*n, as shown below: 阅读全文
摘要:
# HDOJ 1051. Wooden Sticks
## 题目
There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. 阅读全文