摘要: Andy the smart computer science student was attending an algorithms class when the professor asked the students a simple question, "Can you propose an 阅读全文
posted @ 2019-04-09 13:52 进击的黑仔 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Farmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for some of the cables 阅读全文
posted @ 2019-04-09 13:29 进击的黑仔 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 描述C国有 n 个大城市和 m 条道路,每条道路连接这 n 个城市中的某两个城市。任意两个城市之间最多只有一条道路直接相连。这 m 条道路中有一部分为单向通行的道路,一部分为双向通行的道路,双向通行的道路在统计条数时也计为1条。C国幅员辽阔,各地的资源分布情况各不相同,这就导致了同一种商品在不同城市 阅读全文
posted @ 2019-04-09 13:00 进击的黑仔 阅读(226) 评论(0) 推荐(0) 编辑
摘要: An ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smallest to large 阅读全文
posted @ 2019-04-09 12:33 进击的黑仔 阅读(251) 评论(0) 推荐(0) 编辑