摘要:
问题描述 Alice and Bob want to go on holiday. Each of them has planned a route, which is a list of cities to be visited in a given order. A route may cont 阅读全文
摘要:
问题描述 The advice to "buy low" is half the formula to success in the bovine stock market.To be considered a great investor you must also follow this pro 阅读全文
摘要:
问题描述 You want to arrange the window of your flower shop in a most pleasant way. You have F bunches of flowers, each being of a different kind, and at 阅读全文
摘要:
Description 给一个 n n 的地图,每个格子有一个价格,找一个矩形区域,使其价格总和位于[k,2k] Input 输入 k n(n include include include define N 2010 using namespace std; int a[N]; bool mp[N 阅读全文
摘要:
【题目背景】 开学了,小奇在回地球的路上,遇到了一个棘手的问题。 【问题描述】 简单来说,它要从标号为 1 的星球到标号为 n 的星球,某一些星球之间有航线。 由于超时空隧道的存在,从一个星球到另一个星球时间可能会倒流,而且,从星 球 a 到 b 耗费的时间和星球 b 到 a 耗费的时间不一定相同。 阅读全文