牛牛冲_冲_冲_
牛牛冲_冲_冲_
全部文章
分类
题解(3)
归档
标签
去牛客网
登录
/
注册
牛牛冲_冲_冲_的博客
全部文章
(共3篇)
题解 | #马踏棋盘#
#include<bits/stdc++.h> #define x first #define y second using namespace std; const int N=20; int dx[4]={1,1,2,2},dy[4]={2,-2,1,-1}; int n,m,cn...
C++
深度优先搜索
2022-07-16
1
598
题解 | #老子的全排列呢#
内容持续更新欢迎,互关> https://ac.nowcoder.com/acm/contest/profile/453623014 ○| ̄|_ #include<bits/stdc++.h> using namespace std; int a[10],b[10]; void...
C++
深度优先搜索
2022-07-16
1
406
题解 | #N皇后问题#
欢迎互关,题解本蒟蒻持续发布 #include<bits/stdc++.h> using namespace std; const int N=20; int cnt=0,n **b代表竖直方向的某一列是否被标记,lf和rg是left和right的简写,分别表示左斜方向和右 斜方向是否...
C++
深度优先搜索
2022-07-16
0
319