上一页 1 ··· 10 11 12 13 14
摘要: Description Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who t 阅读全文
posted @ 2017-02-05 19:59 拿叉插猹哈 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Description Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and perf 阅读全文
posted @ 2017-02-05 16:15 拿叉插猹哈 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Language: Default The Unique MST Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 29098 Accepted: 10404 Description Given a connected undire 阅读全文
posted @ 2017-02-04 20:16 拿叉插猹哈 阅读(100) 评论(0) 推荐(0) 编辑
摘要: Language: Default Constructing Roads Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 23333 Accepted: 10012 Description There are N villages 阅读全文
posted @ 2017-02-04 10:45 拿叉插猹哈 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define MAXN 50001 7 const int p=8;//要压的位数 8 const int mod=1e8;//10的p次方 9 using namespace std; 10 int a[MAXN],b[MAXN],c[MAXN],l1,l2... 阅读全文
posted @ 2017-02-02 08:53 拿叉插猹哈 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 在一个操场上摆放着一排N堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的2堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。 试设计一个算法,计算出将N堆石子合并成一堆的最小得分。 题目描述 Description 在一个操场上摆放着一排N堆石子 阅读全文
posted @ 2017-01-31 20:41 拿叉插猹哈 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 小渊是个聪明的孩子,他经常会给周围的小朋友们讲些自己认为有趣的内容。最近,他准备给小朋友们讲解立体图,请你帮他画出立体图。 小渊有一块面积为m*n的矩形区域,上面有m*n个边长为1的格子,每个格子上堆了一些同样大小的吉姆(积木的长宽高都是1),小渊想请你打印出这些格 阅读全文
posted @ 2017-01-30 21:16 拿叉插猹哈 阅读(359) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14