题意 : 给你 n 只虫且性别只有公母, 接下来给出 m 个关系, 这 m 个关系中都是代表这两只虫能够交配, 就是默认异性, 问你在给出的关系中有没有与异性交配这一事实相反的, 即同性之间给出了交配关系。 分析 : 本题雷同POJ 1182 食物链, 如果会了那一题, 那现在这题便简单多了, 建议 ...
分类:
其他好文 时间:
2017-06-08 21:23:15
阅读次数:
248
回顾:1.变量 用于指代内存中的一块区域 作用:存数2.声明 类型 变量名 int a,b 3.初始化 int a=10; 4.命名 不能以数字开头的 字母 数字 _ $ 不能使用关键字 goto const 区分大小写 sql 可以使用中文,不建议 知识点: KB(千字节) java基本数据类型 ...
分类:
其他好文 时间:
2017-06-07 22:32:12
阅读次数:
402
There is more to life than increasing its speed. 生活不仅仅是匆匆赶路。 Get a life, a real life, not a manic pursuit of the next promotion, the bigger paycheck, ...
分类:
其他好文 时间:
2017-06-07 10:01:08
阅读次数:
160
A Bug's Life Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 28703 Accepted: 9350 Description Background Professor Hopper is researching t ...
分类:
其他好文 时间:
2017-06-07 09:56:44
阅读次数:
216
以下内容引用自http://wiki.jikexueyuan.com/project/jsp/life-cycle.html: JSP生命周期可以被定义为从创建到销毁的整个过程,这类似于一个Servlet的生命周期与一个额外的步骤,该步骤将一个JSP编译成Servlet。 以下是JSP执行步骤: 编 ...
分类:
Web程序 时间:
2017-06-05 10:26:06
阅读次数:
322
部署的Master节点集群由k8s-master01, k8s-master02, k8s-master03三个节点组成,每个节点上部署kube-apiserver,kube-controller-manager,kube-scheduler三个核心组件。 kube-apiserver的3个实例同时 ...
分类:
Web程序 时间:
2017-06-05 00:23:55
阅读次数:
675
A Bug's Life Time Limit: 10000MS Memory Limit: 65536K Total Submissions: 35756 Accepted: 11730 Description Background Professor Hopper is researching ...
分类:
其他好文 时间:
2017-06-04 23:02:57
阅读次数:
207
1.添加EventEmitter模块 2.实例一个EventEmitter对象 3.可通过.setMaxListeners()来修改最大监听数,默认10个 4.事件监听有两种方法,两种方式 5.移除一个监听事件,需要在 life.emit('求安慰','东晖') 之前才有用,并且只能移除具名函数 6 ...
分类:
Web程序 时间:
2017-06-04 18:31:26
阅读次数:
217
当我们限定了用户不能跳出其主目录之后,使用该用户登录FTP时往往会遇到这个错误: [html] view plain copy 500 OOPS: vsftpd: refusing to run with writable root inside chroot () [html] view plai ...
分类:
其他好文 时间:
2017-06-04 12:46:46
阅读次数:
217
应用服务 IApplicationService接口 ApplicationService类 CrudService和AsyncCrudAppService类 简单的CRUD应用服务示例 自定义CRUD应用服务 GettingList Create和Update 其他方法参数 CRUD权限 工作单元 ...
分类:
其他好文 时间:
2017-06-04 00:22:09
阅读次数:
404