首页
DreamJudge
院校信息
专业题库
模拟考试
机试真题
上岸课程
兑换中心
登录
注册
上岸
jsd
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
27
发帖
0
笔记
9
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
130
阅读数
8233
冰阔落 I 题解:并查集,注意输出内容比较多有点恶心
#include<bits/stdc++.h> using namespace std; int fa[10001]; int find(int x) { if(x != fa[x]) {  ...
P5216
2025年3月20日 10:00
回复 0
|
赞 7
|
浏览 185
循环移位 题解:拼接后遍历
#include<bits/stdc++.h> using namespace std; int main() { string s1, s2; while(cin>>s1>&...
P1727
2025年3月19日 15:01
回复 0
|
赞 7
|
浏览 183
玛雅人的密码 题解:bfs遍历所有可能组合
#include<bits/stdc++.h> using namespace std; int main() { int n; while(cin>>n) { &nb...
P1162
2025年3月18日 11:08
回复 0
|
赞 2
|
浏览 223
P2015 涂颜色 答疑提问:
这个样例通过了42%, 求助哪里出了问题 #include<bits/stdc++.h> using namespace std; int main() { string n, m; ci...
P2015
2025年3月14日 14:07
回复 1
|
赞 15
|
浏览 305
P1586 并查集 答疑提问:
#include<bits/stdc++.h> using namespace std; //25 const int maxn = 10001; int f[maxn]; int find(int x){ //压缩路径优化 int r...
P1586
2025年3月13日 15:36
回复 0
|
赞 0
|
浏览 101
P1564 石油储藏 答疑提问:
#include<bits/stdc++.h> using namespace std; const int maxn = 105; char s[maxn][maxn] = {'*'}; int visited[maxn][maxn] = {0}; int ...
P1564
2025年3月12日 20:16
回复 0
|
赞 0
|
浏览 141
字符串 - 22年 题解:找规律+dp
#include<bits/stdc++.h> using namespace std; int main() { int n, m; int maxcnt = -1;//最长连续1的长度 &...
P1916
2025年3月12日 14:13
回复 0
|
赞 1
|
浏览 193
P1422 进制转换3 答疑提问:
求助这个题当输入为 36 9 XYZZA765 时为什么没有输出呢 #include<bits/stdc++.h> using namespace std; int main() { long long m, n,...
P1422
2025年3月3日 10:46
回复 2
|
赞 11
|
浏览 332
特别的除法 题解:模拟除法计算过程
#include<bits/stdc++.h> using namespace std; int main() { int a, b, c; cin>>a>>b>&...
P1796
2025年3月1日 10:24
回复 0
|
赞 1
|
浏览 195
极大连通图个数 题解:8个方向DFS
#include<bits/stdc++.h> using namespace std; int m, n; void dfs(vector<vector<char> > &graph, int x, int y, vector<...
P1975
2025年3月1日 09:55
回复 0
|
赞 1
|
浏览 140
P1281 计算表达式 答疑提问:
#include<bits/stdc++.h> using namespace std; int main(){ map<char,int> m; m['+'] = 1; m['-'] = 1; m['*'] = 2; m['...
P1281
2025年2月25日 17:17
回复 4
|
赞 9
|
浏览 370
开门人和关门人 题解:麻烦大家看看我这样做虽然通过了但是很麻烦,有没有简单点的方法呀
#include<bits/stdc++.h> using namespace std; typedef struct record { string name; string stime; ...
P1333
2025年2月25日 16:07
回复 1
|
赞 1
|
浏览 151
P1126 生化武器 答疑提问:
#include<bits/stdc++.h> using namespace std; const int maxn = 1000; typedef struct node{ int x,y;//坐标 int step;//步数 }node; cha...
P1126
2025年2月16日 14:55
回复 2
|
赞 12
|
浏览 351
P1566 确定比赛名次 答疑提问:
#include<bits/stdc++.h> using namespace std; const int maxn = 1000; int gmap[maxn][maxn]; //邻接矩阵存储 int indegree[maxn];//入度 ...
P1566
2025年2月23日 15:35
回复 2
|
赞 8
|
浏览 314
P1565 最短路 答疑提问:
#include<bits/stdc++.h> using namespace std; #define max1 10000000 const int maxn=1000; int gmap[maxn][maxn]; int visited[maxn]; ...
P1565
2025年2月23日 19:43
回复 0
|
赞 0
|
浏览 224
能否排序 题解:找规律
#include<bits/stdc++.h> using namespace std; int a[100001]; int b[100001]; int main() { int t;  ...
P1741
2025年2月19日 10:39
回复 0
|
赞 11
|
浏览 345
计算表达式 题解:
中缀表达式计算模板 #include<bits/stdc++.h> using namespace std; int main() { string s; cin>>s; &...
P1281
2025年2月18日 16:46
回复 0
|
赞 3
|
浏览 351
P1678 走路还是坐公交 答疑提问:
求助我这个为什么会报运行时错误呀, 通过率50% #include<bits/stdc++.h> using namespace std; void bfs(int s, int t, int& ans) { vecto...
P1678
2025年2月17日 10:08
回复 1
|
赞 4
|
浏览 309
简单计算器 题解:
#include<bits/stdc++.h> using namespace std; int main() { string s; map<int, int> mp = {{...
P1322
2025年2月14日 16:38
回复 0
|
赞 2
|
浏览 344
相隔天数 题解:
#include<bits/stdc++.h> using namespace std; bool isLeapYear(int year) { if ((year % 4 == 0 && year % 100 != ...
P1825
2025年2月7日 20:15
回复 0
|
赞 2
|
浏览 344
1
2
本科学校:燕山大学
目标学校:华中科技大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!