09 2023 档案

09 2023 档案

09 2023 档案

摘要:bash 使用反引号包裹命令可得到命令的输出:var=`command` [ -z string][nstring ] 字符串不为空则为真 getopts 内置于 bash 中,用于解析参数,只支持单个字符参数,不支持形如 --help 的长参数 阅读全文
posted @ 2023-09-18 20:53 suxxsfe 阅读(14) 评论(0) 推荐(0) 编辑
摘要:MIT-Missing-Semester https://missing-semester-cn.github.io/ 1.shell cd - 返回之前的目录 >> 输出重定向为追加而不是覆盖 目录权限:r 查看目录文件列表,w 在目录中重命名、删除、创建文件,x 搜索权限,是否允许进入该目录 t 阅读全文
posted @ 2023-09-08 10:30 suxxsfe 阅读(79) 评论(0) 推荐(0) 编辑
摘要:## 图论 tarjan 缩强连通分量 ```cpp int dfn[N],low[N],dfscnt; int stack[N],top; int scc[N],scccnt; void tarjan(int u){ dfn[u]=low[u]=++dfscnt; stack[top++]=u; 阅读全文
posted @ 2023-09-03 19:51 suxxsfe 阅读(22) 评论(0) 推荐(0) 编辑
摘要:## 数据结构 普通堆、可删堆 ```cpp struct Node{ inline int operator 1){ fa=i>>1; if(a[fa]b;} std::priority_queue,int(*)(const int &a,const int &b)>pque(pqueCmp); 阅读全文
posted @ 2023-09-03 19:23 suxxsfe 阅读(16) 评论(0) 推荐(0) 编辑

This blog has running: 1856 days 1 hours 59 minutes 56 seconds

Copyright © 2025 suxxsfe
Powered by .NET 9.0 on Kubernetes
点击右上角即可分享
微信分享提示