- 博客(770)
- 收藏
- 关注
原创 C++中的常量(const):指向常量的指针、常量指针、指向常量的常指针、顶层const、底层const、const引用、常量表达式constexpr、const成员函数、常量对象
了解c++中const的一切
2025-06-02 21:59:26
856
原创 git分支分叉强制更改为线性
由于我Update metrics.py并没有大改动,所以我直接强制push到远端,使得远程分支和本地分支同步(提示该操作有风险,会直接覆盖某个节点)在执行 git pull origin main 时遇到了一个提示,说明本地分支和远程分支发生了分歧(divergent branches)。这通常是因为远程分支上有新的提交,而本地分支也有未推送的提交,导致 Git 无法自动合并。
2025-04-30 18:46:47
402
原创 Two Sum
Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
2025-02-22 14:48:50
189
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人