摘要:
题目描述Given a non-negative integer sequence A with length N, you can exchange two adjacent numbers each time. After K exchanging operations, what’s the ... 阅读全文
摘要:
题目描述There are a bunch of stones on the beach; Stone color is white or black. Little Sheep has a magic brush, she can change the color of a continuous ... 阅读全文
摘要:
题目描述Up to thirty couples will attend a wedding feast, at which they will be seated on either side of a long table. The bride and groom sit at one end,... 阅读全文
摘要:
DescriptionChosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new proble... 阅读全文
摘要:
题目描述It'sYy'sbirthday, and his friends decided to buy him a copy ofXianJianQiXiaZhuanV.Since some of friends have more money available than others, nob... 阅读全文
摘要:
题目描述You are given N baskets of gold coins. The baskets are numbered from 1 to N. In all except one of the baskets, each gold coin weighs w grams. In t... 阅读全文