![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构编程实验03
smaracoon
这个作者很懒,什么都没留下…
展开
-
POJ2013 ZOJ2172 UVA 3055Symmetric Order
//3_3_1: Symmetric Order 姓名重新排列输出 POJ2013 ZOJ2172 UVA 3055 #include #include #include using namespace std; char str[16][30]; int main() { int i,n,cnt = 1; while(scanf("%d",&n),n != 0) { for(i原创 2015-04-27 20:45:38 · 218 阅读 · 0 评论 -
POJ1979 ZOJ2165 Red and Black
//3_2_1: Red and Black 到达黑色瓷砖数量 POJ1979 ZOJ2165 #include #include #include using namespace std; int i,j,mx,my,sx,sy,cnt,dir[4][2] = {{-1,0},{0,1},{1,0},{0,-1}}; char enter,map[22][22]; void DFS(int原创 2015-04-27 19:46:27 · 256 阅读 · 0 评论 -
POJ2083 ZOJ2423 Fractal
//3_4_1: Fractal 分形打印X POJ2083 ZOJ2423 #include #include #include using namespace std; char map[730][730]; void print(int n,int x,int y) { int i,m = 1; if(n == 1) { map[x][y] = 'X'; return;原创 2015-04-28 11:32:05 · 286 阅读 · 0 评论