> For the complete documentation index, see [llms.txt](https://docs.1l.lol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1l.lol/readme.md).

# C++ 学习笔记

本空间整理自 Notion 笔记库「C++ 学习笔记 / 1l.lol」，按 **CCF GESP C++ 一至八级** 与竞赛大纲补齐与重组，分「笔记」与「题解」两部分。

### 🎓 GESP 专区

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>🗺️</h4></td><td><strong>GESP 大纲（一至八级）</strong></td><td>按级别索引全部知识点，点击跳转到对应笔记。</td><td><a href="/gesp-zone/gesp-syllabus.md">GESP 大纲</a></td></tr><tr><td><h4>📚</h4></td><td><strong>GESP 复习资料</strong></td><td>四级、五级等级认证复习资料。</td><td><a href="/gesp-zone/gesp.md">GESP 复习资料</a></td></tr><tr><td><h4>📦</h4></td><td><strong>GESP 课程资源</strong></td><td>1–6 级课程视频与配套文档（仅供学习）。</td><td><a href="/gesp-zone/course-resources.md">GESP 课程资源</a></td></tr></tbody></table>

### 🏆 竞赛大纲

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>🏆</h4></td><td><strong>StCoder 竞赛大纲</strong></td><td>STF 基础阶段与 STA 算法阶段大纲，覆盖竞赛知识点。</td><td><a href="/stcoder-syllabus.md">StCoder 竞赛大纲</a></td></tr></tbody></table>

### 📘 笔记

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>💻</h4></td><td><strong>计算机基础</strong></td><td>计算机组成、存储与网络、语言分类、流程图、编码与进制。</td><td><a href="/computer-basics.md">计算机基础</a></td></tr><tr><td><h4>📘</h4></td><td><strong>基础语法</strong></td><td>变量与类型、运算、输入输出、顺序 / 分支 / 循环结构。</td><td><a href="/basics.md">基础语法</a></td></tr><tr><td><h4>🔤</h4></td><td><strong>字符串与字符数组</strong></td><td>字符数组、字符串及常用函数。</td><td><a href="/strings.md">字符串与字符数组</a></td></tr><tr><td><h4>🧩</h4></td><td><strong>函数与递归</strong></td><td>函数、作用域、参数传递、递归与递推。</td><td><a href="/functions.md">函数与递归</a></td></tr><tr><td><h4>🧱</h4></td><td><strong>数据结构</strong></td><td>数组、链表、栈、队列、树、哈夫曼、STL。</td><td><a href="/data-structures.md">数据结构</a></td></tr><tr><td><h4>🔢</h4></td><td><strong>排序</strong></td><td>冒泡 / 选择 / 插入 / 归并 / 快速排序与稳定性。</td><td><a href="/sorting.md">排序</a></td></tr><tr><td><h4>➗</h4></td><td><strong>数论</strong></td><td>初等数论、筛法、gcd、唯一分解、高精度。</td><td><a href="/number-theory.md">数论</a></td></tr><tr><td><h4>🧠</h4></td><td><strong>算法</strong></td><td>枚举、模拟、二分、贪心、分治、动态规划、背包。</td><td><a href="/algorithms.md">算法</a></td></tr><tr><td><h4>🔍</h4></td><td><strong>搜索</strong></td><td>深度优先搜索（DFS）与广度优先搜索（BFS）。</td><td><a href="/search.md">搜索</a></td></tr><tr><td><h4>🛠️</h4></td><td><strong>算法技巧</strong></td><td>双指针、差分、离散化、单调栈/队列、哈希表、堆。</td><td><a href="/algorithm-techniques.md">算法技巧</a></td></tr><tr><td><h4>🕸️</h4></td><td><strong>图论</strong></td><td>图的存储与遍历、最短路、最小生成树、拓扑排序、并查集。</td><td><a href="/graph-theory.md">图论</a></td></tr><tr><td><h4>📈</h4></td><td><strong>高级动态规划</strong></td><td>二维 DP、区间 DP、LIS、LCS、滚动数组、多重/分组背包。</td><td><a href="/advanced-dp.md">高级动态规划</a></td></tr><tr><td><h4>📐</h4></td><td><strong>数学进阶</strong></td><td>数学库函数、快速幂、计数原理、排列组合、杨辉三角、倍增法。</td><td><a href="/advanced-math.md">数学进阶</a></td></tr><tr><td><h4>🏛️</h4></td><td><strong>面向对象</strong></td><td>面向对象思想与 C++ 类的创建、封装、继承、多态。</td><td><a href="/oop.md">面向对象</a></td></tr><tr><td><h4>⏱️</h4></td><td><strong>复杂度与调试</strong></td><td>时间复杂度、文件重定向、异常处理。</td><td><a href="/complexity-debug.md">复杂度与调试</a></td></tr></tbody></table>

### 🧾 题解

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4>🧾</h4></td><td><strong>题解</strong></td><td>按算法类型细分的题目解法。</td><td><a href="/solutions.md">题解</a></td></tr><tr><td><h4>🎨</h4></td><td><strong>杂项</strong></td><td>头像大全、佛祖保佑等。</td><td><a href="/misc.md">杂项</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.1l.lol/readme.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
