上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 58 下一页
摘要: 1014 Waiting in Line (30分) Suppose a bank has N windows open for service. There is a yellow line in front of the windows which devides the waiting are 阅读全文
posted @ 2020-01-09 17:12 知道了呀~ 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 1013 Battle Over Cities (25分) It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all t 阅读全文
posted @ 2020-01-04 20:53 知道了呀~ 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 1012 The Best Rank (25分) To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Prog 阅读全文
posted @ 2020-01-03 19:51 知道了呀~ 阅读(322) 评论(0) 推荐(0) 编辑
摘要: 1009 Product of Polynomials (25分) This time, you are supposed to find A×B where A and B are two polynomials. Input Specification: Each input file cont 阅读全文
posted @ 2019-12-31 10:12 知道了呀~ 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 1007 Maximum Subsequence Sum (25分) Given a sequence of K integers { N​1​​, N​2​​, ..., N​K​​ }. A continuous subsequence is defined to be { N​i​​, N​i 阅读全文
posted @ 2019-12-26 17:21 知道了呀~ 阅读(712) 评论(0) 推荐(1) 编辑
摘要: 1004 Counting Leaves (30分) A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. In 阅读全文
posted @ 2019-12-25 10:29 知道了呀~ 阅读(516) 评论(0) 推荐(0) 编辑
摘要: 1003 Emergency (25分) As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities 阅读全文
posted @ 2019-12-23 21:18 知道了呀~ 阅读(870) 评论(0) 推荐(1) 编辑
摘要: 一级标题 二级标题 阅读全文
posted @ 2019-12-20 11:04 知道了呀~ 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 1、先序序列确定根节点 2、后序序列区分左右子树 #include<iostream> #include<algorithm> #include<vector> #include<math.h> #include<stdio.h> #include<string.h> #include<map> # 阅读全文
posted @ 2019-11-28 16:38 知道了呀~ 阅读(1344) 评论(0) 推荐(0) 编辑
摘要: 代码: #include<iostream> #include<algorithm> #include<vector> #include<math.h> #include<stdio.h> #include<string.h> #include<map> #include<queue> #inclu 阅读全文
posted @ 2019-11-28 16:32 知道了呀~ 阅读(4460) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 58 下一页