数据结构内排序实验报告

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Wewillcontinuetoimprovethecompany'sinternalcontrolsystem,andsteadyimprovementinabilitytomanageandcontrol,optimizebusinessprocesses,toensuresmoothprocesses,responsibilitiesinplace;tofurtherstrengtheninternalcontrols,playacontrolpostindependentoversightroleofevaluationcomplyingwiththird-partyresponsibility;toactivelymakeuseofinternalaudittoolsdetectpotentialmanagement,streamline,standardizerelatedtransactions,strengtheningoperationsinaccordancewithlaw.Deepeningtheinformationmanagementtoensurefullcommunicationzeroresistance.ToconstantlyperfectERP,andBFS++,andPI,andMIS,andSCM,informationsystembasedconstruction,fullintegrationinformationsystem,achievedinformationresourcesshared;toexpandPortalsystemapplicationofbreadthanddepth,playinformationsystemonenterpriseofAssistantrole;toperfectdailyrunmaintenanceoperationofrecords,promoteproblemreasonsanalysisandsystemhandover;tostrengtheningBFS++,andERP,andSCM,technologyapplicationoftraining,improveemployeesapplicationinformationsystemofcapacityandlevel.Humanisticcaretoensurezero.TostrengtheningHumanitiescare,continuestofostercompanywindclear,andgasare,andheartShunofcultureatmosphere;strengtheninglovehelpedtrapped,caredifficultemployees;carriedoutstyleactivities,richemployeeslife;strengtheninghealthandlabourprotection,organizationcareerhealthmedical,controlcareeragainst;continuestoimplementationpsychologicalwarningpreventionsystem,trainingemployeeshealthofcharacter,andstableofmoodandenterprisingofattitude,createdfriendlyfraternityofHumanitiesenvironment.Tostrengthenriskmanagement,ensurethatthebusinessofzerorisk.Tostrengthenedbusinessplansmanagement,willbusinessbusinessplanscovertoalllevel,ensurethebusinesscancontrolincontrol;tocloseconcernfinancial,andcoalelectriclinkage,andenergy-savingscheduling,nationalpolicytrends,strengtheningtrack,activeshould;toimplementationState-ownedassetsmethod,furtherspecificationbusinessfinancialmanagement;toperfectrisktubecontrolsystem,achievedriskrecognition,andmeasure,andassessment,andreport,andcontrolfeedbackofclosedringmanagement,improveriskpreventioncapacity.Tofurtherstandardizetrading,andstrivetoachieveaccordingtolaw,standardizeandfair.Innovationofperformancemanagement,toensurethatpotentialemployeeszerofly.Tostrengthenperformancemanagement,processcontrol,enhanceemployeeevaluationandlevelsofeffectivecommunicationtoimproveperformancemanagement.Tofurtherquantifyandrefineemployeestandards...Work,fullplayparty,andbranch,andmembersinfivetypeEnterpriseconstructionintheofcorerole,andfightingfortressroleandpioneermodelrole;tocontinuestostrengtheningfourgoodleadershipconstruction利用设在基坑边的固定泵输送砼到施工面,人工摊铺,平板振捣器振捣密实,用刮杠沿模板顶将砼刮平,并用木抹搓平压实,确保砼密实和表面平整。砼浇注时埋设支立模板及钢筋支架所需预埋铁件playlevelscadresinenterprisedevelopmentintheofbackbonebackbonerole;tofullstrengtheningmembersyouthwork,fullplayyouthemployeesincompanydevelopmentintheofforcerole;toimproveindependentCommissionagainstcorruptionworklevel,strengtheningonenterprisebusinesskeylinkofeffectivenessmonitored.,Andmaintainstability.Tofurtherstrengthenpublicityandeducation,improvetheoveralllegalsystem.Wemuststrengthensafetymanagement,establishandimprovetheeducation,supervision,andevaluationasoneofthetrafficsafetymanagementmechanism.ToconscientiouslysumuptheOlympicsecuritycontrols,promotingintegratedmanagementtoahigherlevel,higherstandards,ahigherlevelofdevelopment.Employees,todayislunarcalendaronDecember24,theoxBellisabouttoring,atthistimeofyear,weclearlyfeelthepulseoftheXXpowergenerationcompanytoflourish,tomoreclearlyhearXXpowergenerationcompaniesmatureandsymmetrybreathing.Recallingpastoneanotheracrossarailing,weareenthusiasticandfullofconfidence.Futuredevelopmentopportunities,wemoreexcitingfightmorespirited.Employees,letustogetheracross2013fullofchallengesandopportunities,tocreateagreen,low-costoperation,fullofhumanecareofaworld-classpowergenerationcompanyandworkhard!TheoccasionoftheSpringFestival,mysincerewishthatyouandthefamiliesofthestaffinthenewyear,goodhealth,happy,happy!一、实验目的1、了解内排序都是在内存中进行的。2、为了提高数据的查找速度,需要对数据进行排序。3、掌握内排序的方法。二、实验内容1、设计一个程序exp10—1.cpp实现直接插入排序算法,并输出{9,8,7,6,5,4,3,2,1,0}的排序过程。(1)源程序如下所示://文件名:exp10-1.cpp#includestdio.h#defineMAXE20//线性表中最多元素个数typedefintKeyType;typedefcharInfoType[10];typedefstruct//记录类型{KeyTypekey;//关键字项InfoTypedata;//其他数据项,类型为InfoType}RecType;voidInsertSort(RecTypeR[],intn)//对R[0..n-1]按递增有序进行直接插入排序{inti,j,k;RecTypetemp;for(i=1;in;i++){temp=R[i];j=i-1;//从右向左在有序区R[0..i-1]中找R[i]的插入位置while(j=0&&temp.keyR[j].key){R[j+1]=R[j];//将关键字大于R[i].key的记录后移j--;}R[j+1]=temp;//在j+1处插入R[i]printf(i=%d,,i);//输出每一趟的排序结果printf(插入%d,结果为:,temp);for(k=0;kn;k++)printf(%3d,R[k].key);printf(\n);}}voidmain(){inti,k,n=10;Wewillcontinuetoimprovethecompany'sinternalcontrolsystem,andsteadyimprovementinabilitytomanageandcontrol,optimizebusinessprocesses,toensuresmoothprocesses,responsibilitiesinplace;tofurtherstrengtheninternalcontrols,playacontrolpostindependentoversightroleofevaluationcomplyingwiththird-partyresponsibility;toactivelymakeuseofinternalaudittoolsdetectpotentialmanagement,streamline,sta

1 / 5
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功