会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
45
下一页
2020年11月15日
删除 k 个元素,使剩下的数字最小(单调栈)
摘要: 给定一个以字符串表示的非负整数 num,移除这个数中的 k 位数字,使得剩下的数字最小。 注意: num 的长度小于 10002 且 ≥ k。num 不会包含任何前导零。示例 1 : 输入: num = "1432219", k = 3输出: "1219"解释: 移除掉三个数字 4, 3, 和 2
阅读全文
posted @ 2020-11-15 10:40 楼主好菜啊
阅读(485)
评论(0)
推荐(0)
2020年11月11日
Clion - windows的安装
摘要: clion 环境下载:https://www.cnblogs.com/future-dream/p/9510015.html 学生或教师可以申请免费的 : https://www.jetbrains.com/community/education/#students windows 下载地址: ht
阅读全文
posted @ 2020-11-11 14:42 楼主好菜啊
阅读(382)
评论(0)
推荐(0)
2020年10月18日
python 基本语法
摘要: #格式化输出 age = 18; print("我的名字是%s, 我的国籍是%s"%("小张","中国")); print("我的年纪:%d"%age); print("aaa", "bbb", "ccc"); print("www", "baidu", "com", sep = '.'); pri
阅读全文
posted @ 2020-10-18 12:02 楼主好菜啊
阅读(74)
评论(0)
推荐(0)
2020年10月6日
求一颗树以任意点为根,其他点到根的和
摘要: leedcode : https://leetcode-cn.com/problems/sum-of-distances-in-tree/ 思路 : 一遍 dfs 可以求到以任意一个点为根,所有点所含孩子的个数,cnt数组记录 考虑每一条边的贡献时,即此边左右节点数相乘 第2遍 dfs, 以其他点为
阅读全文
posted @ 2020-10-06 20:29 楼主好菜啊
阅读(139)
评论(0)
推荐(0)
机器学习相关统计参数
摘要: 推荐知乎 : https://zhuanlan.zhihu.com/p/69101372
阅读全文
posted @ 2020-10-06 17:25 楼主好菜啊
阅读(90)
评论(0)
推荐(0)
C++ 同时从2个文件读取数据
摘要: //FILE *stdin1; //FILE *stdin2; //freopen("D:/p/BB/11.txt", "r", stdin); //freopen("D:/p/BB/22.txt", "r", stdin2); freopen("D:/p/BB/1_2.txt", "w", std
阅读全文
posted @ 2020-10-06 10:59 楼主好菜啊
阅读(1063)
评论(0)
推荐(0)
2020年9月26日
markdown
摘要: 推荐链接: https://www.jianshu.com/p/q81RER 标题: # 一级标题 ## 二级标题 ### 三级标题 #### 四级标题 ##### 五级标题 ###### 六级标题 注:# 和「一级标题」之间建议保留一个字符的空格,这是最标准的 Markdown 写法。 列表 -
阅读全文
posted @ 2020-09-26 21:12 楼主好菜啊
阅读(76)
评论(0)
推荐(0)
bayes-M估计
摘要: 推荐:https://blog.csdn.net/cyningsun/article/details/8671975 inline double p(CatValue y)//const double M = 1.0; typedef unsigned int CatValue; { return
阅读全文
posted @ 2020-09-26 14:48 楼主好菜啊
阅读(38)
评论(0)
推荐(0)
numeric_limits
摘要: #include <iostream> #include <limits> using namespace std; main(){ cout << std::numeric_limits<double>::max () << endl; cout << std::numeric_limits<in
阅读全文
posted @ 2020-09-26 10:24 楼主好菜啊
阅读(611)
评论(0)
推荐(0)
2020年9月25日
机器学习基本概念
摘要: 转自:https://blog.csdn.net/chenKFKevin/article/details/70546685?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-8.chann
阅读全文
posted @ 2020-09-25 15:04 楼主好菜啊
阅读(93)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
45
下一页
公告