题意 就是有一对狼,每个狼有初始的攻击力,并且还能给左右两边的狼提供攻击力加成,当冒险家杀死一头狼的时候他也会受到这个狼目前攻击力的伤害 实例解析 33 5 78 2 0 有三头狼,刚开始第二头狼给他左右两边的狼各加2攻击力,由于第一头狼左边没有狼,所以只给第二头狼加,第三头狼还那样,一系列操作后攻 ...
分类:
其他好文 时间:
2019-07-20 19:53:29
阅读次数:
157
Tired of doing the same job? Get your hands on 500-901 exam It is the nature of the human being that he/she will get tired of doing the same task over ...
分类:
其他好文 时间:
2019-07-20 19:52:16
阅读次数:
93
一、粘包 1. 粘包现象 ? 以上两个服务器和客户端,当服务端发送的内容超过1024时,客户端并不会将内容一次全部读取出来,而会在客户端下次输入命令时将上次剩余的内容读取出来,而下次命令的结果又会滞留到下下次。这种现象就是粘包,它与系统缓冲区有关。 | | 服务端 | 客户端 | | | | | | ...
分类:
编程语言 时间:
2019-07-20 15:44:16
阅读次数:
92
Hdu Information Disturbing Description In the battlefield , an effective way to defeat enemies is to break their communication system. The information ...
分类:
其他好文 时间:
2019-07-20 11:39:43
阅读次数:
101
reverse() https://www.runoob.com/python/att-list-reverse.html list[::-1] https://blog.csdn.net/username_2016/article/details/86064198 ...
分类:
编程语言 时间:
2019-07-19 20:53:30
阅读次数:
117
1. Cookie是什么 保存在浏览器端的键值对 为什么要有Cookie? 因为HTTP请求是无状态的 Cookie的原理? 服务端可以在返回响应的时候 做手脚 在浏览器上写入键值对(Cookie) 浏览器发送请求的时候会自动携带该网站保存在我浏览器的键值对(Cookie) Django 从请求携带 ...
分类:
其他好文 时间:
2019-07-19 20:43:24
阅读次数:
81
The Frog's Games Problem Description The annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. One test in the ...
分类:
其他好文 时间:
2019-07-19 12:23:41
阅读次数:
118
Tired of doing the same job? Get your hands on ACMP_6.4 exam It is the nature of the human being that he/she will get tired of doing the same task ove ...
分类:
其他好文 时间:
2019-07-18 15:08:01
阅读次数:
89
//4种遍历方法 for (int i = 0; i < v1.size(); i++) { cout << v1[i] << " "; } for (int i = 0; i < v1.size(); i++) { cout << v1.at(i) << " "; } for (vector<in ...
分类:
其他好文 时间:
2019-07-16 12:38:35
阅读次数:
68
单链表的反转 回顾题目戳这里 https://pintia.cn/problem-sets/15/problems/724 带头节点的反转代码 不带头节点的反转代码 总结 带头节点的思路简单,就是一个头插法构建单链表。 不带头节点的思路我有点迷,现在还没弄明白。 ...
分类:
编程语言 时间:
2019-07-16 10:28:17
阅读次数:
115