搜索
zzz130981
这个作者很懒,什么都没留下…
展开
-
解题报告_18.5.19_POJ_2488
复习一下dfs:#include<iostream> using namespace std; typedef class { public: int row; char col; }location; int p,q; //chess size = p*q //数字是行p,字母是列q bool chess['Z'+1][27]; int x,y;...原创 2018-05-19 23:08:06 · 76 阅读 · 0 评论 -
解题报告_18.5.19_POJ_1789
复习一下bfs#include<iostream> using namespace std; typedef class { public: int row; char col; }location; int p,q; //chess size = p*q //数字是行p,字母是列q bool chess['Z'+1][27]; int x,y; ...原创 2018-05-19 23:23:56 · 95 阅读 · 0 评论 -
解题报告_18.5.26_POJ_2676_0
转载自:https://blog.csdn.net/lyy289065406/article/details/6647977#include<iostream> using namespace std; int map[10][10]; //九宫格 bool row[10][10]; //row[i][x] 标记在第i行中数字x是否出现了 bool ...转载 2018-05-26 22:58:48 · 66 阅读 · 0 评论 -
解题报告_18.5.22_POJ_3126_0
转载自:https://blog.csdn.net/lyy289065406/article/details/6647922#include<iostream> using namespace std; typedef class { public: int prime; int step; }number; ...转载 2018-05-22 20:13:03 · 92 阅读 · 0 评论 -
解题报告_18.5.22_POJ_2251_0
转载自:https://blog.csdn.net/lyy289065406/article/details/6647938#include<iostream> using namespace std; typedef class { public: int l,r,c; int depth; //树深(分钟) ...转载 2018-05-22 20:15:39 · 95 阅读 · 0 评论