摘要: A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangement mu 阅读全文
posted @ 2018-07-22 21:56 一无所知小白龙 阅读(144) 评论(0) 推荐(1) 编辑
摘要: 杂货店出售一种由N(3 include include include include include define sf scanf define pf printf define cl clear() define pb push_back define mm(a,b) memset((a),( 阅读全文
posted @ 2018-07-22 20:07 一无所知小白龙 阅读(116) 评论(0) 推荐(0) 编辑
摘要: We have received an order from Pizoor Communications Inc. for a special communication system. The system consists of several devices. For each device, 阅读全文
posted @ 2018-07-22 18:12 一无所知小白龙 阅读(319) 评论(0) 推荐(1) 编辑
摘要: A supermarket has a set Prod of products on sale. It earns a profit px for each product x∈Prod sold by a deadline dx that is measured as an integral n 阅读全文
posted @ 2018-07-22 16:32 一无所知小白龙 阅读(255) 评论(0) 推荐(1) 编辑
摘要: My birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various sizes. F 阅读全文
posted @ 2018-07-22 14:09 一无所知小白龙 阅读(277) 评论(0) 推荐(0) 编辑
摘要: Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea 阅读全文
posted @ 2018-07-22 14:06 一无所知小白龙 阅读(293) 评论(0) 推荐(0) 编辑
摘要: Suppose there are M people, including you, playing a special card game. At the beginning, each player receives N cards. The pip of a card is a positiv 阅读全文
posted @ 2018-07-22 10:07 一无所知小白龙 阅读(236) 评论(0) 推荐(0) 编辑
摘要: The cows have purchased a yogurt factory that makes world famous Yucky Yogurt. Over the next N (1 include include include include include define sf sc 阅读全文
posted @ 2018-07-22 09:35 一无所知小白龙 阅读(269) 评论(0) 推荐(0) 编辑