摘要: 感谢 https://developer.aliyun.com/article/444366 在 Spring MVC 的入门项目中, 这是最常见的问题。实际上这是因为使用了 JSP 1.2 规范引起的。 1. 使用JSP 1.2 定义格式 如果您使用了 老旧的JSP 1.2描述方式, 即使用了 D 阅读全文
posted @ 2024-05-13 22:06 towboat 阅读(11) 评论(0) 推荐(0) 编辑
摘要: nano编辑器基本使用 编辑a56爆大奖在线娱乐: 当文件打开后,您可以使用键盘输入a56爆大奖在线娱乐。Nano 提供了一些常用的编辑功能,如复制、粘贴、撤销等。常见的键盘操作包括: 使用箭头键移动光标。 使用 Backspace 键删除字符。 使用 Delete 键删除字符。 使用 Ctrl + O 将更改保存到文件。 使用 Ctrl + X 退出 阅读全文
posted @ 2024-04-26 13:52 towboat 阅读(41) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstring> #include <unordered_map> #include <vector> #include <algorithm> using namespace std ; const int N =1e6; #define 阅读全文
posted @ 2024-03-02 21:25 towboat 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ssh: git init git commit -m "first commit" git branch -M master git remote add origin git@github.com:user/xxx.git git push -u origin main 阅读全文
posted @ 2024-02-15 21:06 towboat 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ls, ls-a cp [src] [dest] rm [-r] [dir] scp tar 解包: tar -xvf *.tar 压缩包: tar -cvf *.tar A Windows ssh: ssh (user)@(ip) 阅读全文
posted @ 2024-02-14 23:38 towboat 阅读(3) 评论(0) 推荐(0) 编辑
摘要: VMware ubuntu 走本机代理 | Yumi's Blog (yumi1.top) 阅读全文
posted @ 2024-02-14 22:21 towboat 阅读(85) 评论(0) 推荐(0) 编辑
摘要: dfs #include <iostream> #include <vector> #include <queue> #include <stack> #include <map> #include <cstring> using namespace std ; const int N=5001; 阅读全文
posted @ 2024-01-30 15:49 towboat 阅读(2) 评论(0) 推荐(0) 编辑
摘要: function<vector<int>(int,int) > dfs = [&](int x, int fa) -> vector<int> { vector<int> a = {cost[x]}; for (int y: g[x]) { if (y != fa) { auto res = dfs 阅读全文
posted @ 2023-12-31 16:43 towboat 阅读(14) 评论(0) 推荐(0) 编辑
摘要: void inv(mat &x){ int n = 2, is[2], js[2]; memset(is, 0, sizeof(is)); memset(js, 0, sizeof(js)); for (int k = 0; k < n; k++) { for (int i = k, j; i < 阅读全文
posted @ 2023-12-23 00:26 towboat 阅读(1) 评论(0) 推荐(0) 编辑
摘要: void init(int top){ inv[1] =1 ; for(int i=2;i<=top;i++) inv[i]=(mod-mod/i)*inv[mod%i]%mod; } 阅读全文
posted @ 2023-12-17 18:26 towboat 阅读(3) 评论(0) 推荐(0) 编辑