上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 42 下一页
摘要: Distance in the Tree Time limit: 1.0 secondMemory limit: 64 MB A weighted tree is given. You must find the distance between two given nodes. Input The 阅读全文
posted @ 2016-08-19 11:49 mxzf0213 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Nested Segments Time limit: 1.0 secondMemory limit: 64 MB You are given n segments on a straight line. For each pair of segments it is known that they 阅读全文
posted @ 2016-08-19 11:20 mxzf0213 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Monobilliards Time limit: 1.0 secondMemory limit: 64 MB A monobilliards table set up in a gaming house of a town N turned out to be a very profitable 阅读全文
posted @ 2016-08-19 10:17 mxzf0213 阅读(305) 评论(0) 推荐(0) 编辑
摘要: For Fans of Statistics Time limit: 1.0 secondMemory limit: 64 MB Have you ever thought about how many people are transported by trams every year in a 阅读全文
posted @ 2016-08-18 19:47 mxzf0213 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Anansi's Cobweb Time limit: 1.0 secondMemory limit: 64 MB Usatiy-Polosatiy XIII decided to destroy Anansi's home — his cobweb. The cobweb consists of  阅读全文
posted @ 2016-08-18 18:08 mxzf0213 阅读(308) 评论(0) 推荐(0) 编辑
摘要: Magnetic Storms Time limit: 0.5 secondMemory limit: 64 MB The directory of our kindergarten decided to be attentive to the children's health and not t 阅读全文
posted @ 2016-08-18 18:06 mxzf0213 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 棋盘游戏 题目描述 在一个4*4的棋盘上有8个黑棋和8个白棋,当且仅当两个格子有公共边,这两个格子上的棋是相邻的。移动棋子的规则是交换相邻两个棋子。现在给出一个初始棋盘和一个最终棋盘,要求你找出一个最短的移动序列使初始棋盘变为最终棋盘。Klux说:“这么简单的题目,我都会做!” 输入 第1到4行每行 阅读全文
posted @ 2016-08-17 13:13 mxzf0213 阅读(547) 评论(0) 推荐(0) 编辑
摘要: Parity Time limit: 2.0 secondMemory limit: 64 MB Now and then you play the following game with your friend. Your friend writes down a sequence consist 阅读全文
posted @ 2016-08-16 22:28 mxzf0213 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 机器人搬重物 题目描述 机器人移动学会(RMI)现在正尝试用机器人搬运物品。机器人的形状是一个直径1.6米的球。在试验阶段,机器人被用于在一个储藏室中搬运货物。储藏室是一个N*M的网格,有些格子为不可移动的障碍。机器人的中心总是在格点上,当然,机器人必须在最短的时间内把物品搬运到指定的地方。机器人接 阅读全文
posted @ 2016-08-16 19:57 mxzf0213 阅读(373) 评论(0) 推荐(0) 编辑
摘要: Cow Hopscotch 题目描述 Just like humans enjoy playing the game of Hopscotch, Farmer John's cows have invented a variant of the game for themselves to play 阅读全文
posted @ 2016-08-16 10:57 mxzf0213 阅读(326) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 42 下一页