Meta name="Robots" Content="All"> 考试辅导:程序员数据结构笔记(六)_计算机软件水平考试_计算机类考试_学子考试网
网站首页 | 考试学习 | 英语学习 | 求职 |出国留学 | 资源下载 | 论文中心 | 箐箐校园 | 精品课程 | 网络学院 | 网站留言
资格类考试: 公务员考试 报关员考试 导游资格 注册会计 司法考试
外语类考试: 英语四六级 雅思 托福 GRE BEC PETS 职称英语
学历类考试: 高考 考研 自考 成考 专升本
计算机考试: 等级考试 水平考试 微软认证 思科认证 Linux认证
设为主页
联系站长
添加收藏夹
考试辅导:程序员数据结构笔记(六)

考试辅导:程序员数据结构笔记(六)

学子考试网 Ks263.Com 点击数: 2006-11-2 字体:[ ] 收藏本文

 

int search(struct position *s,int tag)
  { int row,col;
   row=s->row; col=s->col;
   if (W[row+1][col]=(-1)*tag)&&(!visited[row+1][col])
   { s->row=row+1;s->col=col; return 1;}
   if (W[row-1][col]=(-1)*tag)&&(!visited[row-1][col])
   { s->row=row-1;s->col=col; return 1;}
   if (W[row][col+1]=(-1)*tag)&&(!visited[row][col+1])
   { s->row=row;s->col=col+1; return 1;}
   if (W[row][col-1]=(-1)*tag)&&(!visited[row][col-1])
   { s->row=row;s->col=col-1; return 1}
   (5);
  }

答案:
(1)strlen(s)+strlen(t) (2)position+strlen(t) (3)target[i]=s[i-strlen(t)]
(4)return a (5)return f(a,b-a)
(6)q=aveage(head->next)  (7)p->ave=(head->data+q->ave*q->num)/p->num
(1)j<d[i] (2)data,d[i],j,n (3)num+i*d<n  (4)data[j+i*d]<temp  (5)data[j]=temp
(1)q[rear]=T (2)front<p (3)q[rear]=T->lchild (4)count++ (5)flag<count
(1)count (2)(x[i]>end[j])&&(x[i]-start[j]<=1) (3)start[j]=x[i] (4)!flag (5)
(1)visited[i][j]=0 (2)flag  (3)flag=search(s,tag) (4)s=gettop(S) (5)return 0

上一页  [1] [2] [3] [4] 


  • 上一篇文章:

  • 下一篇文章: 没有了




  •                            【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    特别推荐
    最新热点
    最新推荐
     网站首页 -  网站地图 -  加入收藏 -  联系我们 -  友情链接 
    冀ICP备05000973号 ©2005-2006 www.ks263.com.版权所有