上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: A Star not a Tree? Luke wants to upgrade his home computer network from 10mbs to 100mbs. His existing network uses 10base2 (coaxial) cables that allow 阅读全文
posted @ 2019-08-02 18:07 ALEZ 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 题目描述 在一个2维平面上有两条传送带,每一条传送带可以看成是一条线段。两条传送带分别为线段AB和线段CD。lxhgww在AB上的移动速度为P,在CD上的移动速度为Q,在平面上的移动速度R。现在lxhgww想从A点走到D点,他想知道最少需要走多长时间 在一个2维平面上有两条传送带,每一条传送带可以看 阅读全文
posted @ 2019-08-02 18:03 ALEZ 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 堆的做法: 每次取堆顶元素乘上去 再放回堆里面 最后>=n 的第一个数 一定是最小的 注意判重 阅读全文
posted @ 2019-07-31 23:33 ALEZ 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 监狱 题目描述 有一座监狱,有N个牢房,N个牢房呈一字排成一排的。也就是说,第i个牢房紧挨着第i+1个(除了末尾那个)。每个牢房里都关押着一名罪犯,总共N名罪犯。 上级要求将某些罪犯释放,给了一份名单,要求每天释放一个人。 位于相邻牢房的罪犯,他们互相之间可以谈话也可以传话,这就使得这里的N名罪犯都 阅读全文
posted @ 2019-07-31 22:56 ALEZ 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.状态90% 是f[i][j]; 2.对于每个独立的状态 一定是小区间到大区间 并且 是已经被算好 的 是独立的 3.要么看 i和j 怎么稿 并且这种情况是基于 枚举断点会对当前区间的值 造成 错误结果 3. 枚举断点 并且断点是一个独立的 寻找最优值 最标准代码 for(int i=n-1;i> 阅读全文
posted @ 2019-07-31 16:38 ALEZ 阅读(119) 评论(0) 推荐(0) 编辑
摘要: The TV shows such as You Are the One has been very popular. In order to meet the need of boys who are still single, TJUT hold the show itself. The sho 阅读全文
posted @ 2019-07-31 16:33 ALEZ 阅读(123) 评论(0) 推荐(0) 编辑
摘要: The multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the r 阅读全文
posted @ 2019-07-31 16:27 ALEZ 阅读(164) 评论(0) 推荐(0) 编辑
摘要: B - Light BulbTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluSubmit Status Practice ZOJ 3203 Description Compared to wildleopard's 阅读全文
posted @ 2019-07-31 12:48 ALEZ 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 求一个点使得它在i-x到i+y区间内最小 双端队列做法 求i-1 到 i-x 区间内的最小值 类似于 滑动窗口 与i进行比较 阅读全文
posted @ 2019-07-31 12:39 ALEZ 阅读(117) 评论(0) 推荐(0) 编辑
摘要: The TV shows such as You Are the One has been very popular. In order to meet the need of boys who are still single, TJUT hold the show itself. The sho 阅读全文
posted @ 2019-07-31 01:14 ALEZ 阅读(105) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页