003C++语言

逻辑用语千万条,第一首先往里套。 首先,其次,然后,最后。 第一,第二,第三,第四。 书籍 《C++ primer》 第五版 《后台开发》 徐晓鑫 《linu...

2024-09-14 · 11 分钟 · Cooper

002计算机网络

TCP头部 16位源端口 16位目的端口 32位序号 32位确认序号 4位TCP头部长度 单位为4字节 6位标志位 16位滑动窗口 16位校验和 16位紧急指针...

2024-09-14 · 11 分钟 · Cooper

001操作系统

阻塞IO和非阻塞IO 阻塞的文件描述符为阻塞IO 非阻塞的文件描述符为非阻塞IO 同步IO和异步IO 同步IO向应用程序通知的是IO就绪事件。要求用...

2024-09-14 · 9 分钟 · Cooper

英语学习

综合writing 模板 Both the passage and the lecture explore the topic about …. The reading passage proclaims that …. While in the lecture , the professor uses three specific perspectives to contradict what the reading states . First and foremost , the reading part holds the belief that …. because …. However , the lecturer doubts the view by stating that...

2024-09-12 · 5 分钟 · Cooper

算法学习记录

测试数据范围 时间复杂度 对应数据量 O(n) 1,000,000 O(log N) 100,000 O(n^2) 1,000 O(n^3) 100 特殊情况 10 滑动窗口 动态规划 DP dp分析, 两个角度 状态表示 集合: 前i个数, 总和为j的所有方案 属...

2024-09-10 · 1 分钟 · Cooper

C++基础

emplace用法 emplace 是 C++ 中用于容器(如 std::vector, std::map, std::unordered_map 等)的一种方法,允许你在容器中直接构造元素,而不需要先构造再复制或移动。这通常可以提高性能,减少...

2024-09-09 · 24 分钟 · Cooper

Go语言

go的变量声明 第一种,指定变量类型,如果没有初始化,则变量默认为零值。 例如: var a int // 声明一个整型变量 a,默认为 0 var b float64 // 声明一个浮点型变量 b...

2024-09-09 · 43 分钟 · Cooper

Vim操作手册

日常技巧 CTRL + r 等于 window 下的默认 CTRL + y CTRL + f 查找 ctr(control) + shift + r (replace: 替换) 1. 关于Vim 1.1 Vim的几种模式 正常模式:...

2024-09-09 · 13 分钟 · Cooper