上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 155 下一页
摘要: 1.<uses-permission>: 官方描写叙述: If an application needs access to a feature protected by a permission, it must declare that it requires that permission w 阅读全文
posted @ 2017-06-28 15:24 yfceshi 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 1001: [BeiJing2006]狼抓兔子 Time Limit: 15 Sec Memory Limit: 162 MB Submit: 12719 Solved: 3017 [Submit][Status][Discuss] Description 如今小朋友们最喜欢的”喜羊羊与灰太狼”,话 阅读全文
posted @ 2017-06-28 14:42 yfceshi 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 解题报告 题目传送门 题意: 中文不多说; 思路: 基础多重背包,每一个物品有多个能够选。转换成01背包解。 #include <iostream> #include <cstring> #include <cstdio> #define inf 99999999 using namespace s 阅读全文
posted @ 2017-06-28 14:04 yfceshi 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 自函子 自函子(Endofunctor)是一个将范畴映射到自身的函子(A functor that maps a category to itself)。函子是将一个范畴转换到另一个范畴。所以自函子是一种特殊的函子。 由三部分组成: 一组元素对象 一组态射 态射组合(二元运算) 假设这个范畴满足结合 阅读全文
posted @ 2017-06-28 12:29 yfceshi 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1.至少1G的RAM。 2.RAM与swap关系: RAM swap 512M以上 2*RAM (非常奇怪。至少1G的RAM。还写512的) 1G-2G 1.5*RAM 2G-8G RAM 8G以上 0.75*RAM 3./tmp 至少400M 1.至少1G的RAM。 2.RAM与swap关系: R 阅读全文
posted @ 2017-06-28 11:45 yfceshi 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 前言:阅读笔记 storm和hadoop集群非常像。hadoop执行mr。storm执行topologies。 mr和topologies最关键的不同点是:mr执行终于会结束,而topologies永远执行直到你kill。 storm集群有两种节点:master和worker。 master执行一个 阅读全文
posted @ 2017-06-28 11:09 yfceshi 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Robberies Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 12462 Accepted Submission(s): 4623 Pro 阅读全文
posted @ 2017-06-28 10:20 yfceshi 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l 阅读全文
posted @ 2017-06-28 08:55 yfceshi 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 今天我们来介绍网络层中的ICMP协议 ICMP报文格式 图一: 从图片上我们能够分析出。前三位的字段都是固定的。8位类型字段,8位代码字段。16位校验和字段。其它字段因ICMP报文类型不同而不同。8位类型和8位代码一起决定了报文的类型。 ICMP查询格式 ICMP查询报文共同拥有4种 回送请求和回答 阅读全文
posted @ 2017-06-28 08:21 yfceshi 阅读(193) 评论(0) 推荐(0) 编辑
摘要: CountDownLatch是一个同步辅助类,在完毕一组正在其它线程中运行的操作之前。它同意一个或多个线程一直等待。 如果我们周末要去旅游。出游前须要提前订好机票、巴士和酒店,都订好后就能够出发了。这个用代码怎么实现?能够用CountDownLatch。 主要方法 await(); // 使当前线程 阅读全文
posted @ 2017-06-27 21:09 yfceshi 阅读(137) 评论(0) 推荐(0) 编辑
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 155 下一页