会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
完全感覚Dreamer
博客园
首页
新随笔
联系
订阅
管理
2023年4月13日
RocksDB+ZenFS的安装及测试(Fedora 37)
摘要: 安装 安装libzbd依赖库及libzbd: //依赖 yum install m4 yum install autoconf yum install libtool yum install automake //下载libzbd库 git clone https://github.com/west
阅读全文
posted @ 2023-04-13 11:23 完全感覚Dreamer
阅读(308)
评论(0)
推荐(0)
2022年3月20日
大整数相加
摘要: 之前用过char*,int。见字符串处理 - 完全感覚Dreamer - 博客园 (cnblogs.com) 这次用string,里面用到了reverse函数比较方便。 #include <bits/stdc++.h> using namespace std; void add(string a,s
阅读全文
posted @ 2022-03-20 13:41 完全感覚Dreamer
阅读(32)
评论(0)
推荐(0)
字符串2
摘要: 一串数字,每两位一组,不够补0,加上32,放到新的字符串里,比如123456,12+32=44,34+32=66,56+32=88 #include <bits/stdc++.h> using namespace std; char str[101]={'\0'}; char res[101]={'
阅读全文
posted @ 2022-03-20 10:50 完全感覚Dreamer
阅读(58)
评论(0)
推荐(0)
2022年3月17日
文件操作
摘要: 将第一题的源代码保存为abc.c文件,并且要求abc.c文件中有相当数量的注释,包括//和/*……*/两种形式的注释 (1)读取abc文件的内容,将其显示在控制台上,并为每行代码增加一个符号。(10)(2)使源代码中的//类型的注释内容不显示在控制台中。(10)(3)使源代码中的/*……*/类型的注
阅读全文
posted @ 2022-03-17 21:47 完全感覚Dreamer
阅读(33)
评论(0)
推荐(0)
2022年3月15日
数学问题
摘要: 输出所有4位超级素数:前1位,前2位,前3位,前4位全是素数。 #include <bits/stdc++.h> using namespace std; bool isPrime(int a){ if(a<=1) return false; int sqr=(int)sqrt(1.0*a); fo
阅读全文
posted @ 2022-03-15 19:14 完全感覚Dreamer
阅读(100)
评论(0)
推荐(0)
2022年3月9日
模拟
摘要: 输入一个四行五列的矩阵,找出每列最大的两个数。 输入描述: 每个用例包含四行,每行包括五个整数。代表一个四行五列的矩阵,矩阵元素全部是整数。 输出描述: 可能有多组测试数据,对于每组数据,按照样例输出的格式将每列最大的两个数输出,如果最大的两个数中的一个数在这一列中有多个相同的值,则行值取行值小的那
阅读全文
posted @ 2022-03-09 21:21 完全感覚Dreamer
阅读(183)
评论(0)
推荐(0)
2022年3月7日
字符串处理
摘要: 打印倒三角 #include <bits/stdc++.h> using namespace std; char c; void print(int times){ char start = c - times; for(int i=0;i<=times;i++){ for(int j=0;j<2*
阅读全文
posted @ 2022-03-07 19:55 完全感覚Dreamer
阅读(39)
评论(0)
推荐(0)
2021年9月10日
1151 LCA in a Binary Tree (30 分)
摘要: 考前挣扎一下 #include <bits/stdc++.h> using namespace std; const int maxn=10010; map<int,int> mp,index_k,height; int m,n,pre[maxn],in[maxn]; void build(int
阅读全文
posted @ 2021-09-10 09:03 完全感覚Dreamer
阅读(23)
评论(0)
推荐(0)
2021年6月1日
cs231n-KNN图像分类
摘要: 课程视频(b站):【公开课】最新斯坦福李飞飞cs231n计算机视觉课程【附中文字幕】_哔哩哔哩_bilibili 课程官网:CS231n Convolutional Neural Networks for Visual Recognition 笔记中文翻译:贺完结!CS231n官方笔记授权翻译总集篇
阅读全文
posted @ 2021-06-01 15:17 完全感覚Dreamer
阅读(80)
评论(0)
推荐(0)
2021年3月29日
ML-ex1 Python version
摘要: Linear regression dataset:ex1data1.txt the 1st column is population of the city,the 2nd column is profit. Python pandas Pandas 纳入了大量库和一些标准的数据模型,提供了高效地
阅读全文
posted @ 2021-03-29 19:24 完全感覚Dreamer
阅读(48)
评论(0)
推荐(0)
下一页
公告