摘要: Description L公司有N个工厂,由高到底分布在一座山上。如图所示,工厂1在山顶,工厂N在山脚。由于这座山处于高原内陆地区(干燥少雨),L公司一般把产品直接堆放在露天,以节省费用。突然有一天,L公司的总裁L先生接到气象部门的电话,被告知三天之后将有一场暴雨,于是L先生决定紧急在某些工厂建立一 阅读全文
posted @ 2017-04-21 09:24 F.W.Nietzsche 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Lweb 面对如山的英语单词,陷入了深深的沉思,”我怎么样才能快点学完,然后去玩三国杀呢?“。这时候睿智的凤老师从远处飘来,他送给了 Lweb 一本计划册和一大缸泡椒,他的计划册是长这样的: —————序号 单词————— 1 2......n-2n-1 n————— 然后凤老师告诉 Lw 阅读全文
posted @ 2017-04-19 19:26 F.W.Nietzsche 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Bessie has been playing with strings again. She found that by changing the order of the alphabet she could make some strings come before all the 阅读全文
posted @ 2017-04-19 19:17 F.W.Nietzsche 阅读(235) 评论(0) 推荐(0) 编辑
摘要: Description Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new probl 阅读全文
posted @ 2017-04-10 20:36 F.W.Nietzsche 阅读(393) 评论(0) 推荐(0) 编辑
摘要: Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Yea 阅读全文
posted @ 2017-04-10 19:56 F.W.Nietzsche 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 题目描述 您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作:翻转一个区间,例如原有序序列是5 4 3 2 1,翻转区间是[2,4]的话,结果是5 2 3 4 1 --by洛谷 http://daniu.luogu.org/problem/show?pid=3391 裸 阅读全文
posted @ 2017-04-06 14:33 F.W.Nietzsche 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目太长,不在此显示,见洛谷P2586 http://daniu.luogu.org/problem/show?pid=2586 模拟, 那就模拟呗; 各种WA, 然后好久才A了; 一种被社会报复了的感觉 好像被蚂蚁踩死了 代码能力太差 唉,正题: 整体流程: 1.蚂蚁出生; 2.放信息素; 3.到 阅读全文
posted @ 2017-04-03 20:12 F.W.Nietzsche 阅读(501) 评论(0) 推荐(0) 编辑
摘要: Description The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superi 阅读全文
posted @ 2017-03-31 10:58 F.W.Nietzsche 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 题目描述 10年一度的银河系赛车大赛又要开始了。作为全银河最盛大的活动之一,夺得这个项目的冠军无疑是很多人的梦想,来自杰森座α星的悠悠也是其中之一。 赛车大赛的赛场由N颗行星和M条双向星际航路构成,其中每颗行星都有一个不同的引力值。大赛要求车手们从一颗与这N颗行星之间没有任何航路的天体出发,访问这N 阅读全文
posted @ 2017-03-30 20:47 F.W.Nietzsche 阅读(232) 评论(0) 推荐(0) 编辑
摘要: rt,计算几何入门; TOYS Calculate the number of toys that land in each bin of a partitioned toy box. Mom and dad have a problem - their child John never puts 阅读全文
posted @ 2017-03-30 20:12 F.W.Nietzsche 阅读(211) 评论(0) 推荐(0) 编辑