SunLakeWalk
SunLakeWalk
全部文章
题解
DP(2)
图论(1)
基础算法(1)
数据结构(2)
未归档(1)
赛场(1)
归档
标签
去牛客网
登录
/
注册
SunLakeWalk的博客
全部文章
/ 题解
(共3篇)
题解 | #杨辉三角#
C 杨辉三角 公式推导过程下面是代码 #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod = 99824353; ll qmi(ll a,ll b){ ll ans = ...
组合数
2021-07-17
18
1184
小M和天平
#include <iostream> #include <cmath> #include <cstring> using namespace std; const int N = 110, M = N * N; int n; bool f[N][M]; /...
DP
2021-01-31
0
741
走出迷宫【所用算法——dfs】
dfs为深搜算法,他会一直走到底所以用dfs算法,一定如果有通路的话,他一定可以从头走到尾。 #include <iostream> #include <cstring> using namespace std; const int N = 510; int n, m,...
dfs
C++
走出迷宫
2020-07-12
7
1089