slide0155.htm

来自「可作为课程设计或者毕业设计 也可以作为学校精品课程网站使用」· HTM 代码 · 共 151 行

HTM
151
字号
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:p="urn:schemas-microsoft-com:office:powerpoint"
xmlns:oa="urn:schemas-microsoft-com:office:activation"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=ProgId content=PowerPoint.Slide>
<meta name=Generator content="Microsoft PowerPoint 11">
<link id=Main-File rel=Main-File href="../z6.htm">
<link rel=Preview href=preview.wmf>
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
p\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
v\:textbox {display:none;}
</style>
<![endif]-->
<title>第六章 过程</title>
<meta name=Description content=2008-3-24>
<link rel=Stylesheet href="master04_stylesheet.css">
<![if !ppt]>
<style media=print>
<!--.sld
	{left:0px !important;
	width:6.0in !important;
	height:4.5in !important;
	font-size:107% !important;}
-->
</style>
<script src=script.js></script><script><!--
if( !IsNts() ) Redirect( "PPTSld" );
//--></script><!--[if vml]><script>g_vml = 1;
</script><![endif]--><![endif]><o:shapelayout v:ext="edit">
 <o:idmap v:ext="edit" data="161"/>
</o:shapelayout>
</head>

<body lang=ZH-CN style='margin:0px;background-color:black'
onclick="DocumentOnClick()" onresize="_RSW()" onload="LoadSld()"
onkeypress="_KPH()">

<div id=SlideObj class=sld style='position:absolute;top:0px;left:0px;
width:534px;height:400px;font-size:16px;background-color:#E3DDBB;background-image:
url("master04_image001.jpg");clip:rect(0%, 101%, 101%, 0%);visibility:hidden'><p:slide
 coordsize="720,540"
 colors="#ffffff,#000000,#808080,#482400,#dfd6c3,#d69b80,#993300,#666600"
 masterhref="master04.xml">
 <p:shaperange href="master04.xml#_x0000_s167937"/><![if !ppt]><p:shaperange
  href="master04.xml#_x0000_s167938"/><![if !vml]><img border=0
 v:shapes="_x0000_s167938" src="master04_image005.jpg" style='position:absolute;
 top:0%;left:0%;width:7.49%;height:100.0%'><![endif]><p:shaperange
  href="master04.xml#_x0000_s167940"/><p:shaperange
  href="master04.xml#_x0000_s167941"/><![endif]><v:shapetype id="_x0000_t202"
  coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
  <v:stroke joinstyle="miter"/>
  <v:path gradientshapeok="t" o:connecttype="rect"/>
 </v:shapetype><v:shape id="_x0000_s164871" type="#_x0000_t202" style='position:absolute;
  left:66pt;top:24pt;width:456pt;height:45.625pt' filled="f" fillcolor="#dfd6c3 [4]"
  stroked="f" strokecolor="black [1]">
  <v:fill color2="white [0]"/>
  <v:shadow color="gray [2]"/>
  <v:textbox style='mso-fit-shape-to-text:t'/>
 </v:shape><v:shape id="_x0000_s164872" type="#_x0000_t202" style='position:absolute;
  left:54pt;top:78pt;width:636pt;height:397.875pt' filled="f" fillcolor="#dfd6c3 [4]"
  stroked="f" strokecolor="black [1]">
  <v:fill color2="white [0]"/>
  <v:shadow color="gray [2]"/>
  <v:textbox style='mso-fit-shape-to-text:t'/>
 </v:shape>
 <div v:shape="_x0000_s164871" class=O style='mso-line-spacing:"100 50 0";
 position:absolute;top:5.5%;left:10.11%;width:61.42%;height:6.75%'><span
 lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:黑体;font-size:133%;mso-fareast-language:ZH-CN'><b>6.8.2<span
 style='mso-spacerun:yes'>&nbsp; </span></b></span><span style='font-family:
 黑体;mso-fareast-font-family:黑体;font-size:133%'><b>插入问题</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体;font-size:133%;mso-special-format:
 lastCR;display:none'><b>&#13;</b></span></div>
 <div v:shape="_x0000_s164872" class=O>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:16.0%;left:8.42%;width:86.51%;height:11.25%'><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>例</b></span><span lang=EN-US
 style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>6.13</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b> 把一个给定数插到有序数列中,插入后数列仍然有序</b></span><span
 style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
 display:none'><b>&#13;</b></span></div>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:29.25%;left:8.42%;width:86.51%;height:17.5%'><span style='font-family:
 宋体;mso-fareast-font-family:宋体'><b>分析:设</b></span><span lang=EN-US
 style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>n</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>个有序数(从小到大)存放在数组</b></span><span
 lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>a(1)—a(n)</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>中,要插入的数</b></span><span
 lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>x</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>。首先确定</b></span><span
 lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>x</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>插在数组中的位置</b></span><span
 lang=EN-US style='font-family:"Times New Roman";mso-ascii-font-family:"Times New Roman";
 mso-fareast-font-family:"Arial Unicode MS";mso-fareast-language:ZH-CN'><b>p</b></span><span
 style='font-family:宋体;mso-fareast-font-family:宋体'><b>;(可由以下语句实现)</b></span><span
 style='font-family:"Arial Unicode MS";mso-fareast-font-family:"Arial Unicode MS";
 display:none'><b>&#13;</b></span></div>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:48.25%;left:8.42%;width:86.51%;height:11.5%'><span lang=EN-US
 style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-fareast-language:ZH-CN'><b>ReDim Preserve a(n + 1)</b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;mso-hansi-font-family:"Courier New"'><b>  </b></span><span lang=EN-US
 style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-fareast-language:ZH-CN'><b>'</b></span><span style='font-family:宋体;
 mso-ascii-font-family:"Courier New";mso-fareast-font-family:宋体;mso-hansi-font-family:
 "Courier New"'><b>让数组长度增加</b></span><span lang=EN-US style='font-family:"Courier New";
 mso-ascii-font-family:"Courier New";mso-fareast-language:ZH-CN'><b>1</b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;mso-hansi-font-family:"Courier New"'><b>,以便存放插入的数</b></span><span
 style='font-family:宋体;mso-ascii-font-family:"Courier New";mso-fareast-font-family:
 宋体;display:none'><b>&#13;</b></span></div>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:61.25%;left:8.42%;width:6.17%;height:5.5%'><nobr><span lang=EN-US
 style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";mso-fareast-language:ZH-CN'><b>p=1&#13;</b></span></nobr></div>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:68.25%;left:8.42%;width:48.12%;height:5.5%'><nobr><span lang=EN-US
 style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";mso-fareast-language:ZH-CN'><b>do while
 x&gt;a(p) and p&lt;=n&#13;</b></span></nobr></div>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:75.0%;left:8.42%;width:10.11%;height:5.5%'><nobr><span lang=EN-US
 style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";mso-fareast-language:ZH-CN'><b>p=p+1&#13;</b></span></nobr></div>
 <div style='text-align:justify;mso-line-spacing:"115 15 0";position:absolute;
 top:82.0%;left:8.42%;width:8.23%;height:5.5%'><nobr><span lang=EN-US
 style='font-family:"Courier New";mso-ascii-font-family:"Courier New";
 mso-bidi-font-family:"Courier New";mso-fareast-language:ZH-CN'><b>loop</b></span><span
 lang=EN-US style='font-family:宋体;mso-fareast-font-family:宋体;mso-fareast-language:
 ZH-CN;mso-special-format:lastCR;display:none'><b>&#13;</b></span></nobr></div>
 </div>
</p:slide></div>

</body>

</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?