![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CDOJ
文章平均质量分 78
RIPwangh
山东理工大学本科学生
展开
-
CCPC-CDOJ-1221-G题
题目意思: 你是x方,看你再下一步,能不能把o的子吃掉一个思路: 枚举所有 . 的点,看是否能够下吃掉对方CODE#include#include#include#include#includeusing namespace std;char mp[11][11];int vis[11][11];int dx[] = {0,0,1,-1};int dy[]原创 2015-10-30 21:37:29 · 503 阅读 · 0 评论 -
CCPC-CDOJ-1222-Sudoku
题目意思: 这道题和POJ2676一样,好像比那个还要简单,不知道比赛的时候为啥卡了思路: 用3个标记数组,用来存取当前行和列还有2X2的小方格中数字是否出现,再加一个DFS就可以了CODE#include#include#include#include#include#includeusing namespace std;int mx[5][5];int原创 2015-10-30 18:26:02 · 482 阅读 · 0 评论