上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 题目描述 在Mars星球上,每个Mars人都随身佩带着一串能量项链。在项链上有NN颗能量珠。能量珠是一颗有头标记与尾标记的珠子,这些标记对应着某个正整数。并且,对于相邻的两颗珠子,前一颗珠子的尾标记一定等于后一颗珠子的头标记。因为只有这样,通过吸盘(吸盘是Mars人吸收能量的一种器官)的作用,这两颗 阅读全文
posted @ 2019-09-29 23:42 Sword_Art_Online 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Byteasar has become a hexer - a conqueror of monsters. Currently he is to return to his hometown Byteburg. The way home, alas, leads through a la 阅读全文
posted @ 2019-09-29 23:19 Sword_Art_Online 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Siruseri 城中的道路都是单向的。不同的道路由路口连接。按照法律的规定, 在每个路口都设立了一个 Siruseri 银行的 ATM 取款机。令人奇怪的是,Siruseri 的酒吧也都设在路口,虽然并不是每个路口都设有酒吧。 Banditji 计划实施 Siruseri 有史以来最惊天 阅读全文
posted @ 2019-09-28 20:14 Sword_Art_Online 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 题目描述 很久以前,在一个遥远的星系,一个黑暗的帝国靠着它的超级武器统治着整个星系。 某一天,凭着一个偶然的机遇,一支反抗军摧毁了帝国的超级武器,并攻下了星系中几乎所有的星球。这些星球通过特殊的以太隧道互相直接或间接地连接。 但好景不长,很快帝国又重新造出了他的超级武器。凭借这超级武器的力量,帝国开 阅读全文
posted @ 2019-09-28 20:14 Sword_Art_Online 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Bessie likes downloading games to play on her cell phone, even though she doesfind the small touch screen rather cumbersome to use with her large 阅读全文
posted @ 2019-09-27 23:58 Sword_Art_Online 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Due to a lack of rain, Farmer John wants to build an irrigation system tosend water between his N fields (1 <= N <= 2000).Each field i is describ 阅读全文
posted @ 2019-09-27 23:58 Sword_Art_Online 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Bessie is planning the annual Great Cow Gathering for cows all across the country and, of course, she would like to choose the most convenient lo 阅读全文
posted @ 2019-09-26 23:32 Sword_Art_Online 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 题目描述 农场主John最近在网上买了一辆新车,在购买汽车配件时,John不小心点了两次“提交”按钮。导致汽车上安装了两套GPS系统,更糟糕的是John在使用GPS导航时,两套系统常常给出不同的路线。从地图上看,John居住的地区有N(2 ≤ N ≤ 100,000)个十字路口和M(1 ≤ M ≤ 阅读全文
posted @ 2019-09-26 23:16 Sword_Art_Online 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 【题目描述】: 幼儿园里有N个小朋友,1xhgww老师现在想要给这些小朋友们分配糖果,要求每个小朋友都要分到糖果。但是小朋友们也有嫉妒心,总是会提出些要求,比如小明不希望小红分到的糖果比他的多,于是在分配糖果的时候lkhgww需要满足小朋友们的K个要求。幼儿园的糖果总数是有限的,1xhgww想知道他 阅读全文
posted @ 2019-09-25 00:59 Sword_Art_Online 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 题目描述 煤矿工地可以看成是由隧道连接挖煤点组成的无向图。为安全起见,希望在工地发生事故时所有挖煤点的工人都能有一条出路逃到救援出口处。于是矿主决定在某些挖煤点设立救援出口,使得无论哪一个挖煤点坍塌之后,其他挖煤点的工人都有一条道路通向救援出口。 请写一个程序,用来计算至少需要设置几个救援出口,以及 阅读全文
posted @ 2019-09-25 00:28 Sword_Art_Online 阅读(202) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 14 下一页