2022年7月17日
摘要: 题目链接: https://www.luogu.com.cn/problem/P1896 题意: 在 $n * n$ 的棋盘里面放 $k$ 个国王,使他们互不攻击,共有多少种摆放方案。 国王能攻击到它上下左右,以及左上左下右上右下八个方向上附近的各一个格子,共8个格子。 #include <bits 阅读全文
posted @ 2022-07-17 16:52 Hamine 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 2400 阅读全文
posted @ 2022-07-17 11:23 Hamine 阅读(34) 评论(0) 推荐(0) 编辑