Robinxbw
码龄6年
关注
提问 私信
  • 博客:48,181
    社区:8
    48,189
    总访问量
  • 130
    原创
  • 764,804
    排名
  • 11
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:安徽省
  • 加入CSDN时间: 2018-11-08
博客简介:

weixin_43646077的博客

查看详细资料
个人成就
  • 获得23次点赞
  • 内容获得4次评论
  • 获得91次收藏
创作历程
  • 1篇
    2024年
  • 2篇
    2023年
  • 1篇
    2022年
  • 11篇
    2021年
  • 115篇
    2020年
成就勋章
创作活动更多

如何做好一份技术文档?

无论你是技术大神还是初涉此领域的新手,都欢迎分享你的宝贵经验、独到见解与创新方法,为技术传播之路点亮明灯!

179人参与 去创作
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

人生本是风前絮,悲也飘零,欢也飘零,化作涟江点点萍

开始新的生活吧
原创
发布博客 2024.02.25 ·
387 阅读 ·
4 点赞 ·
0 评论 ·
4 收藏

【C++】统计文本词频程序

1 #include <iostream> 2 #include <fstream> 3 #include <string> 4 #include <iomanip> 5 #include <vector> 6 #include <map> 7 #include <cctype> 8 #incl...
原创
发布博客 2023.04.11 ·
444 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

交换机二层组播配置

  通常组播会涉及到三层设备即路由器,需要用到igmp协议,本文的配置针对纯二层设备环境,简单地说,就是没有任何路由器,只有交换机而且只有一台,各主机通过该交换机连接,通过相应的配置在这些主机之间实现组播数据的发送和接收。  本文介绍两种方式的大概配置过程:配置igmp snooping协议,一台主机作为组播源,另外三台主机作为组播数据的接收端,这三台主机加入同一个ip组播组,组播源向这个...
原创
发布博客 2023.01.09 ·
3767 阅读 ·
2 点赞 ·
0 评论 ·
13 收藏

【解决异常】无法通过localhost:8080进入

1.问题:不能进入localhost界面解决方法:1)在控制面板中进入“程序和功能”2)进入Windows功能面板,将下面三项勾上3)可进入localhost页面2.无法通过localhost:8080进入Tomcat1)启动时发现报错信息:原因是8080端口被占用(使用' netstat -aon|findstr"8080" '查看)使用' taskkill ...
原创
发布博客 2022.02.09 ·
1940 阅读 ·
1 点赞 ·
0 评论 ·
3 收藏

1051 Pop Sequence (25 分)

对于一个序列,每输入一个数t,如果栈不为空,就判断它与栈顶是否相等,如果等,栈顶出栈,判断下一个数;如果不等,在栈的大小允许范围内,将index入栈,每入栈一次判断一次t与栈顶是否相等。如果序列是符合要求的,最后的栈一定是空的,所以只要在处理完序列后判断栈有没有空即可知道序列对不对。 1 int main() { 2 int m, n, k, size, index; cin ...
原创
发布博客 2021.03.05 ·
132 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1089 Insert or Merge (25 分)

非原创,参考:https://blog.csdn.net/richenyunqi/article/details/81150510 1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm>...
原创
发布博客 2021.03.05 ·
125 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1029 Median (25 分)

第一个序列用vector存储起来,第二个序列读入时可同时处理(在线算法)。需要得到的数(结果)是两个序列组合并后,处于下标(n+m-1)/2的数,所以for循环需要执行(n+m-1)/2次(每次确定一个数)。最后输出s2[i-1]或者s2[(n+m-1)/2]即可。注意此处的处理:如果输入个数到达上限,且等到最后输入的一个数被选择之后,把t置为无穷,防止再次进入此段代码。 1 ...
原创
发布博客 2021.03.04 ·
222 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

1085 Perfect Sequence (25 分)

1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm> 6 #include <cmath> 7 #include <vector> 8 #include &...
原创
发布博客 2021.03.04 ·
148 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

1064 Complete Binary Search Tree (30 分)

参考:https://blog.csdn.net/richenyunqi/article/details/78868563 1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm> 6 #...
原创
发布博客 2021.03.04 ·
159 阅读 ·
0 点赞 ·
1 评论 ·
0 收藏

1122 Hamiltonian Cycle (25 分)

1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm> 6 #include <cmath> 7 #include <vector> 8 #include &...
原创
发布博客 2021.03.03 ·
84 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1021 Deepest Root (25 分)(并查集,dfs,连通分量个数)

使用dfs计算连通分量的数量 1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm> 6 #include <cmath> 7 #include <vector>...
原创
发布博客 2021.03.02 ·
98 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1109 Group Photo (25 分)

先定义结构图node{name, height},存放姓名和身高。先将所有人按照身高顺序从大到小排好序(因为从最后一排开始输出,最后一排身高最高,所以刚好是从头开始处理),再分组处理,除了最后一排人数是n/k+n%k,其余排的人数均为n/k,引入formation函数,用下标作为参数给出处理范围(下标或范围可由每排人数递推出),逐排处理即可。需要注意的是formation函数里面的person...
原创
发布博客 2021.03.01 ·
128 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1093 Count PAT's (25 分)

其实核心思想就是遍历每一个‘A’,这个A前面P的数量和后面T的数量的乘积就是一个A所能产生的PAT数,依次累加起来就是总的数量。所以可以先找到第1个A,再找到第1个A前面所有P的数量cp,后面所有T的数量ct,相乘,并累加到结果中。接着找第2个、第3个……第N个A,在找的过程中,如果遇到P,就将cp+1(因为这个P属于即将要找到的A的前面的P),如果遇到T就令ct-1(因为这个T是属于前一个...
原创
发布博客 2021.03.01 ·
145 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1129 Recommendation System (25 分)

1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <map> 6 #include <set> 7 using namespace std; 8 struct node 9 {...
原创
发布博客 2021.02.20 ·
101 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1112 Stucked Keyboard (20 分)

题目:https://pintia.cn/problem-sets/994805342720868352/problems/994805357933608960 1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include...
原创
发布博客 2021.02.19 ·
105 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

通信网实验

DG=[0,inf,inf,1.2,9.2,inf,0.5; inf,0,inf,5,inf,3.1,2 inf,inf,0,inf,inf,4,1.5 1.2,5,inf,0,6.7,inf,inf 9.2,inf,inf,6.7,0,15.6,inf inf,3.1,4,inf,15.6,0,inf 0.5,2,1.5,inf,i...
原创
发布博客 2020.11.24 ·
275 阅读 ·
1 点赞 ·
0 评论 ·
0 收藏

socket编程

1 #include <stdio.h> 2 #include <string.h> 3 #include <stdlib.h> 4 #include <errno.h> 5 #include <sys/socket.h> 6 #include <sys/types.h> 7 #include <...
原创
发布博客 2020.11.03 ·
97 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1062 Talent and Virtue (25分)——sort排序

#include <iostream>#include <cstring>#include <algorithm>using namespace std;struct person{ string id; int virtue, talent, sum; int type;//12345};bool cmp(pe...
原创
发布博客 2020.09.30 ·
107 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1082 Read Number in Chinese (25分)

注意事项:八千万八千(√),八千万零八千(×)输入为0时单独判断#include <iostream>#include <cstring>using namespace std;int main(){ char out_num[10][5] = { "yi","er","san","si","wu","liu","qi","ba","jiu...
原创
发布博客 2020.09.29 ·
84 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

1077 Kuchiguse (20分)——测试点1未过

#include <iostream>#include <cstring>using namespace std;int main(){ int N; cin >> N; char ch; int k = -1; char(*s)[300] = new char[101][300]; int l...
原创
发布博客 2020.09.29 ·
159 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多