摘要:
题目描述N integers are arranged on a circle clockwise. Given two integers M and K. For each position, you should take M continuous integers on the left an... 阅读全文
摘要:
题目描述Nancy, the leader of a group, always participates in many different kinds of competitions. One day, she decides to choose some of her group member... 阅读全文
摘要:
Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given amount of mone... 阅读全文
摘要:
题目描述You’re giving a party in the garden of your villa by the sea. The party is a huge success, and everyone is here. It’s a warm, sunny evening, and a... 阅读全文
摘要:
题目描述You are organizing a dance party. The party will be attended by n boys and n girls. There will be several rounds of dancing. In each round, you di... 阅读全文