1 Service Kubernetes Pods are mortal. They are born and when they die, they are not resurrected. ReplicaSets in particular create and destroy Pods dyn ...
分类:
Web程序 时间:
2019-01-27 10:46:54
阅读次数:
145
servlet: 运行在服务器端的小程序 Servlet是一个接口,定义自己的servlet实现接口 入门: 1、创建一个Myservlet 实现servlet接口 复写方法 2、在init(),service(),destroy()方法中添加输出语句 3、在web.xml中注册我们创建的servl ...
分类:
其他好文 时间:
2019-01-24 20:14:07
阅读次数:
193
Terrorist’s destroy HDU - 4679 There is a city which is built like a tree.A terrorist wants to destroy the city's roads. But now he is alone, he can o ...
分类:
其他好文 时间:
2019-01-23 13:50:13
阅读次数:
119
Servlet运行在Servlet容器中,其生命周期由容器来管理。Servlet的生命周期通过javax.servlet.Servlet接口中的init()、service()和destroy()方法来表示Servlet的生命周期包含了下面4个阶段:1.加载和实例化2.初始化3.请求处理4.服务终止 ...
分类:
其他好文 时间:
2019-01-18 13:29:32
阅读次数:
217
出生-->工作-->死亡 == init-->service-->destroy servlet实现的对象是tomcat创建的 不是人为创建 Servlet 对象的实例默认情况下是在浏览器第一次调用 servlet 时候被创建的 (可以修改创建节点) init是实例对象第一次被创建时候调用的 ser ...
分类:
其他好文 时间:
2019-01-01 21:48:14
阅读次数:
128
"原题传送门" 这题用Link Cut Tree解决, "Link Cut Tree详解" 我不太会踩爆Link Cut Tree的并查集做法qaq 我们用Link Cut Tree维护连通性~~(十分无脑)~~ Connect操作:把u,v两个点连起来 Destroy操作:把u,v两个点分开来 Q ...
分类:
其他好文 时间:
2018-12-31 21:14:55
阅读次数:
138
题目传送门 传送门 题目大意 $m$只鼹鼠有$n$个巢穴,$n - 1$条长度为$1$的通道将它们连通且第$i(i > 1)$个巢穴与第$\left\lfloor \frac{i}{2}\right\rfloor$个巢穴连通。第$i$个巢穴在最终时允许$c_i$只醒来的鼹鼠最终停留在这。已知第$i$ ...
分类:
其他好文 时间:
2018-12-28 23:38:59
阅读次数:
313
1.struts2中bean标签的常用属性 参考:https://blog.csdn.net/lzgsea/article/details/79795290 常见属性有id name class factory-method factory-bean destroy-method scope aut ...
分类:
其他好文 时间:
2018-12-12 20:35:07
阅读次数:
172
When wake up, lxhgww find himself in a huge maze. The maze consisted by N rooms and tunnels connecting these rooms. Each pair of rooms is connected by ...
分类:
其他好文 时间:
2018-12-09 10:42:05
阅读次数:
160
Description In order to strengthen the defense ability, many stars in galaxy allied together and built many bidirectional tunnels to exchange messages ...
分类:
其他好文 时间:
2018-12-06 23:58:35
阅读次数:
306