摘要: 视频链接:https://www.bilibili.com/video/BV1EG411n7oe/?spm_id_from=333.788&vd_source=5ed8eb14651ad8efbf97fd6f8c41c1ca 笔记: 基本触发器 同步触发器 边沿触发器 初值如何设置(了解): 判断是 阅读全文
posted @ 2023-04-12 15:16 dunhedunhe 阅读(33) 评论(0) 推荐(0) 编辑
摘要: ## 重要的题目 ![](https://img2023.cnblogs.com/blog/2581787/202302/2581787-20230221234914742-1510476209.png) ### 全概率公式和贝叶斯公式的难题 例一 ![](https://img2023.cnblo 阅读全文
posted @ 2023-02-21 22:25 dunhedunhe 阅读(72) 评论(0) 推荐(0) 编辑
摘要: ## 重要的题目 https://www.cnblogs.com/icbm/p/17142741.html ## 作业题目 ### 1 ![](https://img2023.cnblogs.com/blog/2581787/202302/2581787-20230214141627578-5592 阅读全文
posted @ 2023-02-14 14:15 dunhedunhe 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-09-13 23:29 dunhedunhe 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 构造 string::string - C++ Reference (cplusplus.com) 常用函数 分离字符串abc.in - 顿河顿河 - 博客园 (cnblogs.com) 特殊的成员 https://cplusplus.com/reference/string/string/npos 阅读全文
posted @ 2022-08-04 23:54 dunhedunhe 阅读(24) 评论(0) 推荐(0) 编辑
摘要: cout的计算顺序从右向左,输出顺序从左向右 假设a = 1; b = 2; c = 3;cout<<a<<b<<c<<endl;缓冲区:|3|2|1|<- (把“<-”看作是指针)输出: |3|2|<- (输出 1) |3|<- (输出 2) |<- (输出 3)结果就是123. C++输出流co 阅读全文
posted @ 2022-08-04 21:48 dunhedunhe 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-07-01 16:56 dunhedunhe 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 中文乱码问题 阅读全文
posted @ 2022-06-30 16:38 dunhedunhe 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 对路径的BFS 岛(BFS) DFS(DFS虽然好写,但图大了容易爆栈) void DFS(int x,int y){ if(judge(x,y)==false) return; inq[x][y]=true; DFS(x+1,y); DFS(x-1,y); DFS(x,y+1); DFS(x,y- 阅读全文
posted @ 2022-05-13 16:12 dunhedunhe 阅读(50) 评论(0) 推荐(0) 编辑
摘要: void sort(int *a,int n){ for(int i=0;i<n-1;i++) for(int j=0;j<n-i-1;j++) if(a[j]>a[j+1]){ int t=a[j]; a[j]=a[j+1]; a[j+1]=t; } } void sort(int *a,int 阅读全文
posted @ 2022-05-03 18:08 dunhedunhe 阅读(43) 评论(0) 推荐(0) 编辑