随笔 - 530  文章 - 0  评论 - 3  阅读 - 10098 

随笔分类 -  py

SpringMVC中JSP页面不显示EL表达式的原因
摘要:感谢 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 阅读(41) 评论(0) 推荐(0) 编辑
若干cpp的匿名函数
摘要: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 阅读(32) 评论(0) 推荐(0) 编辑
cpp configuration for vscode
摘要:1 windows: https://www.cnblogs.com/zjh114/p/17650234.html 2 苹果的mac : 直接运行 https://zhuanlan.zhihu.com/p/103308900 调试 //cpp_.... { "configurations": [ { 阅读全文
posted @ 2023-12-16 00:07 towboat 阅读(2) 评论(0) 推荐(0) 编辑
virtual judge [Submit with your own account]
摘要:https://vjudge.net/article/2790 然后要启用开发者模式,然后就可以打开开发者工具。 (Safari–Preferences呼出首选项面板(或用快捷键 command+, 直接呼出)。 在 Advanced 菜单面板下,勾选 Show Develop Menu in me 阅读全文
posted @ 2023-08-28 18:46 towboat 阅读(38) 评论(0) 推荐(0) 编辑
python 开数组
摘要:列表推导式~ N=int(10) #二维数组 a=[[j for i in range(N)] for j in range(20)] a[1][1]=8 a[1][2]=2 for i in range(N): for j in range(N): print(a[i][j],end=' ') p 阅读全文
posted @ 2023-04-11 22:29 towboat 阅读(20) 评论(0) 推荐(0) 编辑
c++11
摘要:https://www.cnblogs.com/zhanqing/p/17135925.html 阅读全文
posted @ 2023-03-17 19:25 towboat 阅读(6) 评论(0) 推荐(0) 编辑
python trash
摘要:x,y= map(int,input().split()) print(x," ",y) 9TTXwpbgdWhtkB3 a=[32,43,21,431] a.append(3) a.remove(21) print(a) a.extend([98,21]) print(a) a.insert(0, 阅读全文
posted @ 2023-02-22 12:55 towboat 阅读(4) 评论(0) 推荐(0) 编辑
好的博客收集
摘要:https://www.liaoxuefeng.com/wiki/1016959663602400 阅读全文
posted @ 2023-02-18 17:23 towboat 阅读(2) 评论(0) 推荐(0) 编辑
图的遍历
摘要:n=0 N=10000 all=0 go=[0]*N hd=[0]*N nxt=[0]*N def add_(x,y): global all all+=1 nxt[all]=hd[int(x)] go[all]=y hd[x]=all def dfs(x): print("%d "%(x)) i= 阅读全文
posted @ 2023-01-31 12:54 towboat 阅读(9) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示