暴力朴素无优化写法: #include<bits/stdc++.h> using namespace std; const int maxn=1e3+5; int dp[maxn][maxn]; int v[maxn],w[maxn]; int main(){ int n,m;scanf("%d%d ...
分类:
其他好文 时间:
2021-02-04 12:02:33
阅读次数:
0
// 表单值改变触发全局校验 const handleValChange = () => { const { validateFields } = form setTimeout(() => { validateFields((errors, values) => { if (errors) { r ...
分类:
其他好文 时间:
2021-02-04 11:54:41
阅读次数:
0
const { subreddit } = req.params; ...
分类:
Web程序 时间:
2021-02-03 11:07:24
阅读次数:
0
简化对象写法 ES6允许再大括号里面,直接写入变量和函数,作为对象的属性和方法。 遮眼法的书写更加简洁 let name = 'study'; let change = function(){ consoel.log('I like study'); } const study = { name, ...
分类:
其他好文 时间:
2021-02-03 10:42:33
阅读次数:
0
Aimee 想出状态转移的难度很小 很强的题解 #include<iostream> #include<cstdio> #include<cmath> #include<algorithm> #include<cstring> using namespace std; const int maxn= ...
分类:
其他好文 时间:
2021-02-03 10:32:32
阅读次数:
0
1 bool file_exist(const char *path) 2 { 3 struct stat st; 4 5 return (stat(path, &st) == 0) && (!S_ISDIR(st.st_mode)); 6 } ...
分类:
编程语言 时间:
2021-02-03 10:31:12
阅读次数:
0
//父组件 const LayoutMain = ()=>{ const [flowImg,setFlowImg] = useState(false); const openModal = ()=>{ setFlowImg(true) console.log(flowImg); } const ha ...
分类:
其他好文 时间:
2021-02-03 10:29:31
阅读次数:
0
createWebHistory路由模式路径不带#号(生产环境下不能直接访问项目,需要nginx转发) http://localhost:8080/#/ const router = createRouter({ history: createWebHistory(), routes }); cre ...
分类:
其他好文 时间:
2021-02-02 11:14:24
阅读次数:
0
XCTF_RE_csaw2013reversing2_WP 先运行一下程序,发现flag是一串乱码,还好知道这个re题,不然又是一顿乱操作(爬。 很快找到主函数,F5反编译。 xxxxxxxxxx int __cdecl __noreturn main(int argc, const char ** ...
分类:
其他好文 时间:
2021-02-02 11:08:13
阅读次数:
0
http://cs231n.stanford.edu/ CS231A: Computer Vision, From 3D Reconstruction to Recognition http://web.stanford.edu/class/cs231a/ computer vision http: ...
分类:
其他好文 时间:
2021-02-02 11:02:55
阅读次数:
0