嗨害嗨喀喀客
嗨害嗨喀喀客
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
嗨害嗨喀喀客的博客
全部文章
(共14篇)
题解 | 进制转换2
#include <stdio.h> #include <vector> #include<string> #include <math.h> #include <unordered_map> //最大涉及36进制的转换! using na...
2026-03-13
0
5
题解 | 最大连续子序列
#include <stdio.h> #include <algorithm> #include <limits> int dp[10002]; using namespace std; int main() { int k; while (sca...
2026-03-11
0
6
题解 | 最短路径问题
#include <stdio.h> #include <vector> #include <queue> using namespace std; struct Edge{ //边的信息 int u; int v; int weight;...
2026-03-07
0
9
题解 | Jungle Roads
#include <stdio.h> #include <vector> #include <algorithm> #include <map> using namespace std; typedef struct Edge { //边结点的信息 ...
2026-03-06
0
15
题解 | Freckles
#include <stdio.h> #include <vector> #include <algorithm> #include <math.h> using namespace std; int father[1001]; //1-1000 最大...
2026-03-06
0
15
题解 | Head of a Gang
#include <stdio.h> #include <string> #include <map> #include <vector> using namespace std; map<string, string> father; /...
2026-03-05
0
14
题解 | 神奇的口袋
#include <stdio.h> #include <vector> using namespace std; int ans = 0; //总的方式数 int res = 0; //DFS递归过程中的累加和 int n; vector<int> num; /...
2026-03-02
0
14
题解 | 简单计算器
#include <stdio.h> #include <stack> #include <string> #include <map> #include <string.h> using namespace std; int main(...
2026-02-09
0
30
题解 | 首字母大写
#include <stdio.h> #include <string> #include <vector> #include <string.h> using namespace std; int main() { char str[200]...
2026-02-05
0
29
题解 | 坠落的蚂蚁
#include <stdio.h> #include <vector> #include <algorithm> //有且只有一只蚂蚁A速度为0, // 算法核心逻辑: // 1. 左边向右的蚂蚁和右边向左的蚂蚁会相遇并交换速度 // 2. 每次相遇都会&quo...
2026-01-22
0
36
首页
上一页
1
2
下一页
末页