主站
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
讨论区
兑换中心
登录
注册
上岸
carrot_huan
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
55
发帖
0
笔记
24
Ta的粉丝
317
关注数
0
粉丝数
317
获赞数
159
阅读数
32585
IP地址 题解:重新做了一遍,有三个关键点,求16进制,判断合法,输出补0
#include<algorithm> #include<vector> #include<iostream> #include<string> #include<cstdio> using namespace std; ...
P1023
2025年3月18日 19:13
回复 0
|
赞 3
|
浏览 112
解一元一次方程 题解:主要是字符串处理
#include<iostream> #include<string> using namespace std; int main() { string str; cin >&...
P1811
2025年3月16日 21:57
回复 0
|
赞 6
|
浏览 205
日志排序 题解:正则表达式处理输入输出
#include <algorithm> #include <string> #include <iostream> #include <vector> #include <regex>...
P1227
2025年3月14日 23:54
回复 0
|
赞 2
|
浏览 148
最大上升子序列和 题解:
#include<iostream> #include<vector> using namespace std; int main() { int n; while (c...
P1257
2025年3月14日 22:54
回复 0
|
赞 5
|
浏览 105
判断二叉树是否对称 题解:第一步根据完全二叉树的性质递归建树,第二步递归判定树是否镜像对称
#include<iostream> #include<string> using namespace std; struct TNode { char data; ...
P1551
2025年3月13日 23:47
回复 0
|
赞 13
|
浏览 184
魔咒词典 题解:在第二次使用getline前记得用cin.ignore来清理缓冲区换行符
#include<iostream> #include<string> #include<map> using namespace std; int main() { string line;...
P1339
2025年3月13日 16:49
回复 0
|
赞 1
|
浏览 125
查找学生信息2 题解:map的基本用法
#include<iostream> #include<map> #include<string> using namespace std; struct Info { string name;  ...
P1476
2025年3月13日 16:01
回复 0
|
赞 3
|
浏览 119
最大连续子序列 题解:简单的二重循环
#include<iostream> #include<vector> using namespace std; int main() { int n; while (c...
P1334
2025年3月12日 23:13
回复 0
|
赞 6
|
浏览 163
哈夫曼树 题解:哈夫曼树的值等于所有非叶结点值的和+小根堆实现
#include<iostream> #include<queue> using namespace std; int main() { int n; while (...
P1382
2025年3月12日 14:06
回复 0
|
赞 16
|
浏览 231
复数集合 题解:大根堆+运算符重载
#include<iostream> #include<queue> #include<string> using namespace std; struct El { int a;  ...
P1381
2025年3月12日 13:42
回复 0
|
赞 6
|
浏览 133
P1566 确定比赛名次 答疑提问:求助,不知道哪点有问题
#include using namespace std; struct TNode { int data; TNode* rchild, * lchild; }; void Insert(TNo...
P1566
2025年3月11日 23:52
回复 2
|
赞 7
|
浏览 264
二叉排序树2 题解:递归建树
#include<iostream> using namespace std; struct TNode { int data; TNode* rchild, * lchild; }; ...
P1411
2025年3月10日 18:14
回复 0
|
赞 8
|
浏览 198
二叉树遍历2 题解:递归建树
#include<iostream> #include<string> using namespace std; struct TreeNode { char data;  ...
P1401
2025年3月10日 17:35
回复 0
|
赞 12
|
浏览 281
括号的匹配 题解:用栈解决
#include<iostream> #include<stack> #include<map> #include<string> using namespace std; int main() { &nb...
P1067
2025年3月10日 15:37
回复 0
|
赞 10
|
浏览 210
进制转换 题解:自定义字符串除法+用stack存储答案+用除法来控制循环
#include<iostream> #include<string> #include<stack> using namespace std; bool Divide(string& str,stack<int>& ...
P1178
2025年3月10日 00:18
回复 0
|
赞 5
|
浏览 118
首字母大写 题解:
#include<iostream> #include<string> using namespace std; int main() { string str; while (ge...
P1240
2025年3月9日 23:34
回复 0
|
赞 3
|
浏览 174
二叉搜索树 题解:递归处理
#include<iostream> #include<string> using namespace std; typedef struct TNode { char data; ...
P1317
2025年3月9日 23:16
回复 0
|
赞 9
|
浏览 232
二叉树 题解:说实话,没看懂题目那个递推式子,但是确实做出来了
#include<iostream> using namespace std; long long int cal(long long int n1,long long int n2) { if (n1 ==...
P1233
2025年3月6日 17:46
回复 0
|
赞 2
|
浏览 202
简单计算器 题解:数据结构里面学的中序转后序+后序求值(两个栈实现)
#include<iostream> #include<stack> #include<string> #include<map> #include<cstdio> using namespace std; //执行简单运...
P1322
2025年3月4日 12:19
回复 0
|
赞 2
|
浏览 181
手机键盘 题解:空间换时间
#include<string> #include<iostream> using namespace std; int main() { string data; in...
P1157
2025年2月28日 15:52
回复 0
|
赞 2
|
浏览 138
1
2
3
本科学校:浙江理工大学
目标学校:贵州大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!