黑眼圈z
黑眼圈z
全部文章
题解
归档
标签
去牛客网
登录
/
注册
黑眼圈z的博客
全部文章
/ 题解
(共3篇)
题解 | #单词查找树#
就是很普通的一个trie树,但是其中有一个新的知识点,所以记一下 其中son[][]表示trie树,p是移动时用到的点 "> using namespace std; const int N=100010; int son[N][26]; int idx,p,cnt[N]; void add...
2023-08-02
0
453
题解 | #数芝麻#
我的深搜学得太烂了,所以打算写一下题解。 "> using namespace std; int n,m; const int N=110; int a[N][N]; bool st[N][N];//很巧妙 int dfs(int x,int y) { if(x<1||x>n||...
2023-08-01
1
292
武
题目链接:https://ac.nowcoder.com/acm/problem/15522 就是一道很常规的dijskstra题,虽然我自己debug 疯了(丢脸>_<) #include<bits/stdc++.h> using namespace std; const...
C++
最短路
2023-07-30
0
405