首页
DreamJudge
院校信息
考研初试
机试真题
讨论区
兑换中心
登录
注册
上岸
武侠剧
这个人很懒,什么都没有写...
关注
发消息
文章
0
题解
14
发帖
0
笔记
0
Ta的粉丝
0
关注数
0
粉丝数
0
获赞数
4
阅读数
1061
南京理工-女士优先 题解:答案等于最后一个F排到最终位置的时间,即至少由前面一个F到最终位置的时间+1和前面M的个数的最大的一个
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1842
2025年8月29日 13:38
回复 0
|
赞 0
|
浏览 35
Buyer 题解:回溯过程即可
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1567
2025年8月25日 10:50
回复 0
|
赞 0
|
浏览 44
最长公共子序列LCS 题解:和课本讲的一样,只不过 是三维
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1874
2025年8月19日 17:20
回复 0
|
赞 0
|
浏览 66
最长递减子序列 题解:动态规划+栈 即可
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1836
2025年8月19日 14:26
回复 0
|
赞 0
|
浏览 51
走路还是坐公交 题解:求解S到T的成本最小或者收益最大,用BFS
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1678
2025年8月18日 15:30
回复 0
|
赞 1
|
浏览 79
字母排序 题解:排序万能法:sort函数
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P2019
2025年8月17日 19:38
回复 0
|
赞 0
|
浏览 69
最短路径3 题解:运行两次迪杰斯特拉
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1655
2025年8月17日 16:04
回复 0
|
赞 0
|
浏览 79
最短路径问题 题解:有多个目标的单元最短路径,在while循环里面判断即可
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1344
2025年8月17日 14:35
回复 0
|
赞 0
|
浏览 83
最短路 题解:迪杰斯特拉,用优先队列
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1565
2025年8月17日 14:03
回复 0
|
赞 0
|
浏览 85
字符串区间翻转 题解:answer=原字符串1的个数+字符串字区间内0的个数减去1的个数的最大值
#include <iostream> #include <string> #include <algorithm> #include <vector> using namespace std; int main() { &n...
P1642
2025年8月16日 17:56
回复 0
|
赞 1
|
浏览 93
继续畅通工程 题解:已经存在的路,成本为0即可
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1311
2025年8月16日 13:57
回复 0
|
赞 0
|
浏览 81
成绩排序 - 西电 题解:sort()方法可以解决所有的排序
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1733
2025年8月16日 12:43
回复 0
|
赞 0
|
浏览 100
并查集 题解:
#include <iostream> #include <vector> #include <algorithm> #include <iomanip> #include <set> #include <list&g...
P1586
2025年8月16日 12:25
回复 0
|
赞 0
|
浏览 78
差分计数 题解:hash算法
#include <bits/stdc++.h> using namespace std; int main(){ int bound=2000000; int n,x; &nbs...
P1907
2025年8月13日 14:32
回复 0
|
赞 2
|
浏览 118
本科学校:贵州大学
目标学校:北京交通大学
点此申请N诺身份认证
获得 noobdream 认证,享受多重认证福利!