上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: 因为日志项目名称不同格式(如.xlsx .csv .txt)匹配需要,最近看到一篇比较老的博客 https://www.cnblogs.com/Demcia/p/5453906.html 据此 给出了一个很不错的匹配字符串的思路 // str1= "算法证明" , str2= "个人算法证明复印件" 阅读全文
posted @ 2021-02-24 11:15 boyang987 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 需要先安装Python 3.6 用PIP 自动从国内镜像安装 pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple 切换到 jupyter.exe所在目录,运行命令 jupyter notebook 会自动打开浏览器 http 阅读全文
posted @ 2021-02-21 15:54 boyang987 阅读(504) 评论(0) 推荐(0) 编辑
摘要: 解题思路 二叉树的中序遍历 前中后序遍历可以通用的标记法 非递归方式 class Solution { public: vector<int> inorderTraversal(TreeNode* root) { if(!root) return {}; vector<int> res; std:: 阅读全文
posted @ 2021-02-07 13:01 boyang987 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 参考 Python PIP 国内镜像 链接 清华:https://pypi.tuna.tsinghua.edu.cn/simple 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/s 阅读全文
posted @ 2021-02-01 16:20 boyang987 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 111.二叉树最小深度 剪枝前 剪枝后 C++ 代码 /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : 阅读全文
posted @ 2021-02-01 13:22 boyang987 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 假设有一种 满足和为S的+- 组合序列 ,正数的和为X ,则 | 负数 | (绝对值)之和为 oldSum-X 0-(oldSum-X) + X = S ,则X= (oldSum+S)/2 , 问题转化为正数序列中和为X的子集的个数 背包问题 DP含义 设dp[i][j]表示背包大小为j时候 前i个 阅读全文
posted @ 2021-01-30 09:50 boyang987 阅读(94) 评论(0) 推荐(0) 编辑
摘要: google 下载 软件相关 最近下载 .lyx 文件的对应软件,百度下找不到 ,求助Google 找到软件名称 LyX-230-Installer-005.exe 搜索 发现了很多大学的 FTP上面有镜像 找一个响应相对更快的网站 下载 阅读全文
posted @ 2021-01-30 09:37 boyang987 阅读(102) 评论(1) 推荐(0) 编辑
摘要: 测试代码: 1 //线程模型开始,都可以作为类的成员变量 2 HANDLE m_hLogThread; 3 CEvt m_evLogList; 4 CCriSec m_csLogList; 5 //等... 阅读全文
posted @ 2015-04-01 11:08 boyang987 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 1 void CmyTestGraph::OnButton2() 2 { 3 // TODO: Add your control notification handler code here 4 CWnd *pWnd = GetDlgItem(IDC_RICHEDIT1);... 阅读全文
posted @ 2015-03-24 14:41 boyang987 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 两种方法都用到BOOL SetLayeredWindowAttributes1(HWND hwnd, // handle to the layered window COLORREF crKey, // specifies the color keyBYTE bAlpha, // value for... 阅读全文
posted @ 2015-03-23 10:02 boyang987 阅读(817) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页