摘要: Jim has a balance and N weights. (1≤N≤20) The balance can only tell whether things on different side are the same weight. Weights can be put on left s 阅读全文
posted @ 2019-07-19 22:16 茄子Min 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Kiki likes traveling. One day she finds a magic lamp, unfortunately the genie in the lamp is not so kind. Kiki must answer a question, and then the ge 阅读全文
posted @ 2019-07-19 21:16 茄子Min 阅读(271) 评论(0) 推荐(0) 编辑
摘要: Summer again! Flynn is ready for another tour around. Since the tour would take three or more days, it is important to find a hotel that meets for a r 阅读全文
posted @ 2019-07-19 18:16 茄子Min 阅读(232) 评论(0) 推荐(0) 编辑
摘要: YaoYao has a company and he wants to employ m people recently. Since his company is so famous, there are n people coming for the interview. However, Y 阅读全文
posted @ 2019-07-19 16:41 茄子Min 阅读(307) 评论(0) 推荐(0) 编辑
摘要: ``` cpp int a[maxn];//原始输入数组 int st[maxn][25];//st表 void init(int n) { for (int i = 0; i 阅读全文
posted @ 2019-07-19 15:31 茄子Min 阅读(178) 评论(0) 推荐(0) 编辑