摘要:
Problem DescriptionRecently, iSea went to an ancient country. For such a long time, it was the most wealthy and powerful kingdom in th... 阅读全文
摘要:
DescriptionSquares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his '... 阅读全文
摘要:
Recently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When two ... 阅读全文
摘要:
DescriptionEmma and Eric are moving to their new house they bought after returning from their honeymoon. Fortunately, they have a few ... 阅读全文
摘要:
Problem DescriptionAfter coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to vis... 阅读全文
摘要:
DescriptionThe Pizazz Pizzeria prides itself in delivering pizzas to its customers as fast as possible. Unfortunately, due to cutbacks... 阅读全文
摘要:
Description司令部的将军们打算在N*M的网格地图上部署他们的炮兵部队。一个N*M的地图由N行M列组成,地图的每一格可能是山地(用"H" 表示),也可能是平原(用"P"表示),如下图。在每一格平原地形上最多可以布置一支炮兵部队(山地上不能够部署炮兵部队);一支... 阅读全文
摘要:
DescriptionFarmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wan... 阅读全文