yhyh_2
yhyh_2
全部文章
题解
归档
标签
去牛客网
登录
/
注册
yhyh_2的博客
全部文章
/ 题解
(共2篇)
题解 | #马踏棋盘#
#include<bits/stdc++.h> using namespace std; int dx[4] = {1,1,2,2}, dy[4] = {2, -2, 1, -1}; int n,m,ans; bool vis[20][20]; void dfs(int x, int...
C++
深度优先搜索
2024-09-20
1
89
题解 | #N皇后问题#
#include<iostream> #include<cstring> #include<algorithm> #include<cmath> using namespace std; const int N = 20; struct node...
C++
深度优先搜索
2024-09-20
0
63