大多数都是同一个套路,将图拆开成几个图,每一层都对应着一个不同的状态,比如把到点 i 的状态拆成经过了 j 次操作所得的 xx 结果,一般数据不会很大

目前遇到的可分为 3 类:

①.给你最多 k 次操作,求 xx 结果

②.初始给你 k 个燃料,走边需要消耗,每个点你可以选择增加燃料或者不增加燃料,求 xx 结果

③.特殊题(还没见过很多)


P1948 [USACO08JAN] Telephone Lines S - 洛谷

思路:

注意本题的中价值只关于最大值,所以需要改变一下模板

代码:

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define yes cout << "YES\n"
#define no cout << "NO\n"
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());int n,m,k;
//走到 i 用了 j 次
int dis[1005][10005];vector<vector<pair<int,int>>> g(10005);void solve()
{cin >> n >> m >> k;for (int i = 0; i < m; i++){int u,v,t;cin >> u >> v >> t;g[u].emplace_back(v,t);g[v].emplace_back(u,t);}if(k >= m){cout << "0\n";return;}for (int i = 2; i <= n; i++){for (int j = 0; j <= k; j++){dis[i][j] = 1e18;}  }//时间 次数 点priority_queue<tuple<int,int,int>,vector<tuple<int,int,int>>,greater<>> pq;pq.push({0,0,1});while (!pq.empty()){auto [ut,uk,u] = pq.top();pq.pop();if(dis[u][uk] < ut || u == n)continue;for(auto & [v,w] : g[u]){if(dis[v][uk] > max(dis[u][uk],w)){dis[v][uk] = max(dis[u][uk],w);pq.push({dis[v][uk],uk,v});}if(uk < k && dis[v][uk+1] > dis[u][uk]){dis[v][uk+1] = dis[u][uk];pq.push({dis[v][uk+1],uk+1,v});                }}}int ans = 1e18;for (int i = 0; i <= k; i++){ans = min(ans,dis[n][i]);}cout << (ans == 1e18 ? -1 : ans) << endl;
}signed main()
{ios::sync_with_stdio(false);cin.tie(nullptr);int t = 1;while (t--){solve();}return 0;
}

P2939 [USACO09FEB] Revamping Trails G - 洛谷

思路:

模板直接套,改改数据范围

代码:

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define yes cout << "YES\n"
#define no cout << "NO\n"
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());int n,m,k;
//走到 i 用了 j 次
int dis[10005][55];vector<vector<pair<int,int>>> g(10005);void solve()
{cin >> n >> m >> k;for (int i = 0; i < m; i++){int u,v,t;cin >> u >> v >> t;g[u].emplace_back(v,t);g[v].emplace_back(u,t);}for (int i = 2; i <= n; i++){for (int j = 0; j <= k; j++){dis[i][j] = 1e18;}  }//时间 次数 点priority_queue<tuple<int,int,int>,vector<tuple<int,int,int>>,greater<>> pq;pq.push({0,0,1});while (!pq.empty()){auto [ut,uk,u] = pq.top();pq.pop();if(dis[u][uk] < ut || u == n)continue;for(auto & [v,w] : g[u]){if(dis[v][uk] > dis[u][uk] + w){dis[v][uk] = dis[u][uk] + w;pq.push({dis[v][uk],uk,v});}if(uk < k && dis[v][uk+1] > dis[u][uk]){dis[v][uk+1] = dis[u][uk];pq.push({dis[v][uk+1],uk+1,v});                }}}int ans = 1e18;for (int i = 0; i <= k; i++){ans = min(ans,dis[n][i]);}cout << ans << endl;
}signed main()
{ios::sync_with_stdio(false);cin.tie(nullptr);int t = 1;while (t--){solve();}return 0;
}

P4568 [JLOI2011] 飞行路线 - 洛谷

思路:

模板本板,属于机会固定型

代码:

#include <iostream>
#include <algorithm>
#include<cstring>
#include <iomanip>
#include<cctype>
#include<string>
#include <set>
#include <vector>
#include <cmath>
#include <queue>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <stack>
#include <utility>
#include <array>
#include <tuple>
using namespace std;
#define int long long
#define yes cout << "YES" << endl
#define no cout << "NO" << endlvector<vector<pair<int, int>>> g(10005);
int vis[10005][15];
int dp[10005][15];
void solve()
{int n, m, k;cin >> n >> m >> k;int s, e;cin >> s >> e;for (int i = 0; i < m; i++){int u, v, c;cin >> u >> v >> c;g[u].emplace_back(v,c);g[v].emplace_back(u,c);}priority_queue<pair<int,pair<int, int>>,vector<pair<int, pair<int, int>>>,greater<>> q;q.push({ 0,{s,0} });//距离 节点 使用多少次 kdp[s][0] = 0;while (!q.empty()){auto t = q.top();q.pop();int now = t.second.first;int usek = t.second.second;int dis = t.first;if (vis[now][usek]){continue;}vis[now][usek] = 1;for (auto & son : g[now]){int nt = son.first;int cost = son.second;if (dp[nt][usek] > dis + cost){dp[nt][usek] = dis + cost;q.push({ dis + cost,{nt,usek } });}if (usek + 1 <= k && dp[nt][usek + 1] > dis){dp[nt][usek + 1] = dis;q.push({ dis,{ nt,usek + 1 } });}}}int ans = 1e18;for (int i = 0; i <= k; i++){ans = min(ans, dp[e][i]);}cout << ans << endl;
}
signed main()
{memset(dp, 0x3f, sizeof dp);//cin.tie(0)->sync_with_stdio(false);int t = 1;//cin >> t;while (t--){solve();}return 0;
}

P4822 [BJWC2012] 冻结 - 洛谷

思路:

注意操作,这里是将权值减半,其余不变

代码:

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define yes cout << "YES\n"
#define no cout << "NO\n"
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());int n,m,k;
//走到 i 用了 j 次
int dis[55][55];vector<vector<pair<int,int>>> g(55);void solve()
{cin >> n >> m >> k;for (int i = 0; i < m; i++){int u,v,t;cin >> u >> v >> t;g[u].emplace_back(v,t);g[v].emplace_back(u,t);}for (int i = 2; i <= n; i++){for (int j = 0; j <= k; j++){dis[i][j] = 1e18;}  }//时间 次数 点priority_queue<tuple<int,int,int>,vector<tuple<int,int,int>>,greater<>> pq;pq.push({0,0,1});while (!pq.empty()){auto [ut,uk,u] = pq.top();pq.pop();if(dis[u][uk] < ut || u == n)continue;for(auto & [v,w] : g[u]){if(dis[v][uk] > dis[u][uk] + w){dis[v][uk] = dis[u][uk] + w;pq.push({dis[v][uk],uk,v});}if(uk < k && dis[v][uk+1] > dis[u][uk] + w / 2){dis[v][uk+1] = dis[u][uk] + w / 2;pq.push({dis[v][uk+1],uk+1,v});                }}}int ans = 1e18;for (int i = 0; i <= k; i++){ans = min(ans,dis[n][i]);}cout << ans << endl;
}signed main()
{ios::sync_with_stdio(false);cin.tie(nullptr);int t = 1;while (t--){solve();}return 0;
}

AT_abc164_e [ABC164E] Two Currencies - 洛谷

思路:

本题特别注意,由于可以无限兑换,因此需要特判一下还要不要换,以及换了之后不能超过多少,同时不难看出我们所需的硬币最大数,以此优化内存确定上限

同时还有能不能走,如果不能走记得及时止损

代码:

#include <iostream>
#include <algorithm>
#include<cstring>
#include <iomanip>
#include<cctype>
#include<string>
#include <set>
#include <vector>
#include <cmath>
#include <queue>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <stack>
#include <utility>
#include <array>
#include <tuple>
using namespace std;
#define int long long
#define yes cout << "YES" << endl
#define no cout << "NO" << endlstruct MyStruct
{int to, cost, time;
};
vector<vector<MyStruct>> g(55);
vector<pair<int, int>> chage(55);
int n, m, s;
//到 i 城市还剩 j 枚银币
int dis[55][3505];
//int vis[55][3505];
void solve()
{cin >> n >> m >> s;for (int i = 0; i < m; i++){int u, v, x, t;cin >> u >> v >> x >> t;g[u].push_back({ v,x,t });g[v].push_back({ u,x,t });}for (int i = 1; i <= n; i++){int c, d;cin >> c >> d;chage[i] = { c,d };}memset(dis, 0x3f, sizeof dis);int hascoin = min(2500LL, s);dis[1][hascoin] = 0;priority_queue<pair<pair<int,int>, int>, vector<pair<pair<int, int>, int>>, greater<>> pq;//耗时 银币 节点pq.push({ {0,hascoin}, 1});while (!pq.empty()){auto t = pq.top();pq.pop();int now = t.second;int costtime = t.first.first;int has = t.first.second;if (dis[now][has] < costtime){continue;}//if (vis[now][has])//{//    continue;//}//vis[now][has] = 1;for (auto & son : g[now]){int shengxia = has - son.cost;if (shengxia < 0){continue;}if (dis[son.to][shengxia] > dis[now][has] + son.time){dis[son.to][shengxia] = dis[now][has] + son.time;pq.push({ {dis[now][has] + son.time,shengxia},son.to });}}int newcoin = min(has + chage[now].first,2500LL);if (dis[now][newcoin] > dis[now][has] + chage[now].second){dis[now][newcoin] = dis[now][has] + chage[now].second;pq.push({ {dis[now][has] + chage[now].second,newcoin},now });}}for (int i = 2; i <= n; i++){int ans = 1e18;for (int j = 0; j <= 2500; j++){ans = min(ans, dis[i][j]);}cout << ans << endl;}
}
signed main()
{//cin.tie(0)->sync_with_stdio(false);int t = 1;//cin >> t;while (t--){solve();}return 0;
}

176. 装满的油箱 - AcWing题库

思路:

和上题差不多,属于可增加机会类型,贪心判断是否需要即可

代码:

#include <iostream>
#include <algorithm>
#include<cstring>
#include <iomanip>
#include<cctype>
#include<string>
#include <set>
#include <vector>
#include <cmath>
#include <queue>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <stack>
#include <utility>
#include <array>
#include <tuple>
using namespace std;
#define int long long
#define yes cout << "YES" << endl
#define no cout << "NO" << endl
int cost[1005];
vector<vector<pair<int, int>>> g(1005);
//从起点到 i 且剩下 j 油量的最小代价
int dp[1005][105];
int vis[1005][105];
struct Node
{int use, now, fuel;bool operator< (const Node& t) const //重载运算符,以d为优先级的小根堆{return use > t.use;}
};
int fuc(int c,int s,int e)
{memset(dp, 0x3f, sizeof dp);memset(vis, 0, sizeof vis); dp[s][0] = 0;priority_queue<Node> pq;pq.push({0,s,0});while (!pq.empty()){auto t = pq.top();pq.pop();if (t.now == e){return t.use;}//if (vis[t.now][t.fuel])//{//    continue;//}//vis[t.now][t.fuel] = 1;if (t.use > dp[t.now][t.fuel]){continue;}if (t.fuel < c && dp[t.now][t.fuel + 1] > t.use + cost[t.now]){dp[t.now][t.fuel + 1] = t.use + cost[t.now];pq.push({ t.use + cost[t.now] ,t.now,t.fuel + 1 });}for (auto & son : g[t.now]){if (t.fuel >= son.second && dp[son.first][t.fuel - son.second] > t.use){dp[son.first][t.fuel - son.second] = t.use;pq.push({ t.use,son.first,t.fuel - son.second });}}}return -1;
}void solve()
{int n, m;cin >> n >> m;for (int i = 0; i < n; i++)cin >> cost[i];for (int i = 0; i < m; i++){int u, v, d;cin >> u >> v >> d;g[u].push_back({ v,d });g[v].push_back({ u,d });}int q;cin >> q;while (q--){int C, S, E;cin >> C >> S >> E;int ans = fuc(C, S, E);if (ans == -1){cout << "impossible\n";}else{cout << ans << endl;}}
}
signed main()
{cin.tie(0)->sync_with_stdio(false);int t = 1;//cin >> t;while (t--){solve();}return 0;
}

3200. 无线网络 - AcWing题库

思路:

模板,但是要自己建图,注意一下即可

代码:

#include <iostream>
#include <algorithm>
#include<cstring>
#include <iomanip>
#include<cctype>
#include<string>
#include <set>
#include <vector>
#include <cmath>
#include <queue>
#include <unordered_set>
#include <map>
#include <unordered_map>
#include <stack>
#include <utility>
#include <array>
#include <tuple>
using namespace std;
#define int long long
#define yes cout << "YES" << endl
#define no cout << "NO" << endl
vector<vector<int>> g(205);
vector<pair<int, int>> pos(205);
int n, m, k, r;
//到达 i 且多用了 j 个路由器的最小值
int dp[205][105];
struct Node
{int now,usek;
};bool check(pair<int,int> p1,pair<int,int> p2)
{return (pow(p1.first - p2.first, 2) + pow(p1.second - p2.second,2)) <= r * r;
}void fuc()
{queue<Node> pq;dp[0][0] = 0;pq.push({0,0});while (!pq.empty()){auto t = pq.front();pq.pop();if (t.now == 1){continue;}for (auto& son : g[t.now]){int tempk = t.usek;if (son >= n)tempk++;if (tempk > k) continue;if (dp[son][tempk] > dp[t.now][t.usek] + 1){dp[son][tempk] = dp[t.now][t.usek] + 1;pq.push({ son,tempk });}}}
}void solve()
{memset(dp, 0x3f, sizeof dp);cin >> n >> m >> k >> r;for (int i = 0; i < n+m; i++){cin >> pos[i].first >> pos[i].second;}for (int i = 0; i < n+m; i++){for (int j = 0; j < n+m; j++){if (i == j) continue;if (check(pos[i], pos[j]))g[i].push_back(j);}}fuc();int ans = 1e9;for (int i = 0; i <= k; i++){ans = min(dp[1][i], ans);}cout << ans-1 << endl;
}
signed main()
{//cin.tie(0)->sync_with_stdio(false);int t = 1;//cin >> t;while (t--){solve();}return 0;
}

小雨坐地铁

思路:

特殊题型,这里我们是已经知道了有多少层,同时有无限次操作,因此需要改变

本题中我们使用到了另外一个技巧:虚点

我们可以选择构建分层图,但是如果层层间相互连接显然是一个 平方级别 的复杂度,我们显然不能接受

不妨考虑 n 个超级点源做 “虚层”,所有的点换线时我们做一个改变:先从 i 层 到 虚层,然后从虚层 到其余层,这样我们就变成了 线性级别的图

具体的,到 虚层 的权值为 0,而到其余层的权值就是 i 地铁站的 a[i],对于同一层我们正常建图即可

代码:

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define yes cout << "YES\n"
#define no cout << "NO\n"
mt19937 rnd(chrono::steady_clock::now().time_since_epoch().count());
const int N = 1e6+1e3+7;
int n, m, s, e;
// 第几号线的 第几站 多少钱
vector<vector<tuple<int, int>>> g(N);
int dis[N];void solve()
{fill(dis, dis + N, 1e18);cin >> n >> m >> s >> e;for (int i = 0; i < m; i++){int a, b, c;cin >> a >> b >> c;int last, now;for (int j = 0; j < c; j++){cin >> now;g[i * n + now].emplace_back(n * n + now, 0);g[n * n + now].emplace_back(i * n + now, a);if (j){g[i * n + last].emplace_back(i * n + now, b);g[i * n + now].emplace_back(i * n + last, b);}last = now;}}s = n * n + s;e = n * n + e;dis[s] = 0;priority_queue<tuple<int, int>, vector<tuple<int, int>>, greater<>> pq;pq.push({0, s});while (!pq.empty()){auto [w, u] = pq.top();pq.pop();if (w > dis[u] || u == e)continue;for (auto &[v, cost] : g[u]){int newcost = w + cost;if (dis[v] > newcost){dis[v] = newcost;pq.push({newcost, v});}}}if (dis[e] == 1e18){cout << "-1\n";return;}cout << dis[e] << endl;
}signed main()
{ios::sync_with_stdio(false);cin.tie(nullptr);int t = 1;while (t--){solve();}return 0;
}

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.pswp.cn/news/919064.shtml
繁体地址,请注明出处:http://hk.pswp.cn/news/919064.shtml
英文地址,请注明出处:http://en.pswp.cn/news/919064.shtml

如若内容造成侵权/违法违规/事实不符,请联系英文站点网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

VS Code配置MinGW64编译MATIO库

VS Code 使用 MinGW64 编译 C 代码并配置 MATIO 库的完整步骤 1. 安装 MSYS2 下载 MSYS2 访问 MSYS2 官网下载安装包&#xff08;选择 x86_64 版本&#xff09;默认安装路径&#xff1a;C:\msys64 更新 MSYS2 包数据库 打开 MSYS2 MinGW 64-bit&#xff08;注意不是 MSYS&…

【前端Vue】使用ElementUI实现表单中可选择可编辑的下拉框

由于项目在vue的开发框架下&#xff0c;因此使用ElementUI组件库进行实现。我希望可选择可编辑的下拉框右侧有跟下拉框一样的箭头&#xff0c;并且在未输入任何内容时&#xff0c;点击该框体会出现选择列表进行填充数据的选择&#xff0c;点击选中数据后列表消失&#xff0c;数…

每日五个pyecharts可视化图表-line:从入门到精通 (4)

欢迎来到pyecharts折线图系列的第四篇文章&#xff01;在前三篇中&#xff0c;我们已经掌握了多种折线图类型&#xff0c;包括基本折线图、平滑折线图、雨量流量关系图、多X轴折线图、堆叠区域图和阶梯图等。在本文中&#xff0c;我们将继续探索五种更高级的折线图类型&#xf…

MySQL中的字符串函数

目录 一、字符串【分割】函数&#xff1a;SUBSTRING_INDEX() SUBSTRING_INDEX函数 练习题 统计每种性别的人数 提取博客URL中的用户名 截取出年龄 SQL83 商品id数据清洗统计 SQL250 查找字符串中逗号出现的次数 二、字符串【截取】函数&#xff1a;SUBSTRING() 基本语…

CodeBuddy IDE深度体验:AI驱动的全栈开发新时代

在人工智能技术迅猛发展的今天&#xff0c;开发者工具正在经历一场深刻的变革。腾讯推出的CodeBuddy IDE作为全球首个“产设研一体”的AI全栈高级工程师工具&#xff0c;重新定义了开发者的日常工作流程。 从需求分析到设计、编码、部署&#xff0c;CodeBuddy通过AI能力将传统…

实现Android图片手势缩放功能的完整自定义View方案,结合了多种手势交互功能

主要功能特点&#xff1a;支持双指手势缩放图片&#xff0c;通过ScaleGestureDetector实现平滑的缩放效果25双击图片可切换初始大小和中等放大比例16使用Matrix进行图像变换&#xff0c;保持缩放中心点为手势焦点位置57自动缩放动画通过Runnable实现渐进式变化1限制最小和最大缩…

uni-app实战教程 从0到1开发 画图软件 (橡皮擦)

一、本期内容简述1. 开发内容上一期&#xff0c;我们一起学习了如何进行绘画&#xff0c;本期我们将学习如何擦除我们所绘画的内容&#xff0c;也就是“橡皮擦”功能。首先&#xff0c;我们应该明确需求&#xff0c;橡皮擦可以擦除掉我们绘画的内容。2. 开发需求所以开发需求&a…

《A Practical Guide to Building Agents》文档学习

《A Practical Guide to Building Agents》文档总结 该文档是一份面向产品和工程团队的实用指南&#xff0c;旨在帮助团队探索并构建首个基于大语言模型&#xff08;LLM&#xff09;的智能体&#xff08;Agent&#xff09;&#xff0c;提炼了大量客户部署经验&#xff0c;提供了…

OpenCV图像注册模块

操作系统&#xff1a;ubuntu22.04 OpenCV版本&#xff1a;OpenCV4.9 IDE:Visual Studio Code 编程语言&#xff1a;C11 算法描述 注册模块实现了参数化图像配准。所实现的方法是直接对齐&#xff08;direct alignment&#xff09;&#xff0c;即&#xff0c;它直接使用像素值来…

模型驱动与分布式建模:技术深度与实战落地指南

摘要 在AI、云原生与全球化协作的大潮中&#xff0c;模型驱动架构&#xff08;MDA&#xff09;与分布式建模不再是概念&#xff0c;而是支撑复杂系统设计与持续演化的核心引擎。本文从元模型、模型转换引擎&#xff0c;到协同协议、冲突解决算法&#xff0c;再到AI辅助建模与自…

计算机基础速通--数据结构·图的基础应用二(基础图算法)

如有问题大概率是我的理解比较片面&#xff0c;欢迎评论区或者私信指正。 最近了解到了一个新的改变和提高自己的方法时刻记录不论多小的事情都记下&#xff0c;我目前用了4天&#xff0c;之前感觉一天天忙死但没啥收获&#xff0c;但是记录了之后知道自己的时间花在了哪里&…

设计模式-策略模式 Java

模式概述 策略模式是一种行为型设计模式&#xff0c;它通过定义一系列可互换的算法&#xff0c;并将每个算法封装成独立类&#xff0c;使客户端能够根据需要动态切换算法 简单代码示例 // 1. 抽象策略接口 interface PaymentStrategy {void pay(int amount); }// 2. 具体策略实…

【机器学习深度学习】客观评估训练程度

目录 前言 一、什么是客观评估&#xff1f; 二、客观评估的两大核心方法 1. 判别式评测&#xff08;Discriminative Evaluation&#xff09; 2. 生成式评测&#xff08;Generative Evaluation&#xff09; 三、为什么客观评估成本更高&#xff1f; 1.训练目标收紧 2.训…

Linux软件编程:线程间通信

目录 一、线程间通信基础 1. 概念 2. 通信基础&#xff1a;共享空间 二、互斥锁&#xff08;Mutex&#xff09; 1. 概念 2. 使用流程 3. 函数接口 三、死锁 1. 概念 2. 死锁产生的 4 个必要条件 3. 避免死锁的方法 四、信号量&#xff08;Semaphore&#xff09; 1…

【学习笔记】JVM GC回收机制

1.三种基本的垃圾回收算法 1>标记-清除法 ①先将从树根开始&#xff0c;可以到达的对象标记为可达&#xff08;JVM中的对象们存储为一颗树&#xff09; ②将没有标记的对象清除掉 缺点&#xff1a;会产生大量内存碎片 2>复制算法&#xff08;新生代&#xff09; ①先将a区…

软件的终极:为70亿人编写70亿个不同的软件

这是个脑洞大开的想法。昨天晚上&#xff0c;我在用Claude code帮我写一个小工具&#xff0c;用来管理我本地那些乱七八糟的文档。写着写着&#xff0c;突然意识到一个问题&#xff1a;这个工具完全是按照我的工作习惯定制的——我喜欢用Markdown&#xff0c;习惯把TODO放在文件…

LakeHouse--湖仓一体架构

大家可能发现了,近些年湖仓一体数据架构被提及的频率越来越高。各家大厂也有湖仓一体架构的实践,也有很多公开分享。 那什么是湖仓一体?为什么出现了湖仓一体架构,换言之,它解决了以前数据仓库、数据湖+数仓两层架构所不能解决的什么问题? 本文会从数仓、数据湖依次介绍…

基于FPGA的实时图像处理系统(1)——SDRAM回环测试

SDRAM回环设计 文章目录SDRAM回环设计一、SDRAM简介1、引脚2、内部结构框图3、操作指令二、系统设计三、实现流程1、SDRAM接口2、FIFO设置3、内部SDRAM的控制模块4、其他四、实现效果五、总结六、代码1、top2、sdram_top3、sdram_ctrl一、SDRAM简介 SDRAM英文全称“Synchronou…

一键检测接口是否存活:用 Python/Shell 写个轻量级监控脚本

网罗开发&#xff08;小红书、快手、视频号同名&#xff09;大家好&#xff0c;我是 展菲&#xff0c;目前在上市企业从事人工智能项目研发管理工作&#xff0c;平时热衷于分享各种编程领域的软硬技能知识以及前沿技术&#xff0c;包括iOS、前端、Harmony OS、Java、Python等方…

优秀工具包-Hutool工具详解

优秀工具包-Hutool工具详解 课程概述 Hutool简介 定位&#xff1a; 小而全的Java工具库&#xff0c;简化开发流程。对文件、流、加密解密、转码、正则、线程、XML等JDK方法进行封装。 核心优势&#xff1a;零依赖、高性能、中文网页完善。 应用场景&#xff1a;Web开发、数…