freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

操作系統(tǒng)文件管理算法研究畢業(yè)論文-資料下載頁(yè)

2025-06-28 09:53本頁(yè)面
  

【正文】 mark[++No]=MA[j]。 } } }}void display() /*顯示分組情況*/{ int i,j。 if(MA[0]!=0) display1()。 else { i=MA[1]。 for(j=0。j=3。j++) MA[j]=A[i][j]。 display1()。 } }void assign() /*分配空閑塊*/{ int s,i。 if(MA[0]1) /*若該組不止一個(gè)空閑塊*/ { i=MA[0]。 s=MA[i]。 MA[0]。 printf(\nnumber of the block:%d,s)。 } else if(MA[0]==1) /*只剩一個(gè)空閑塊*/ { if(MA[1]!=0) /*還有其它空閑塊組*/ { s=MA[1]。 for(i=0。i=3。i++) A[0][i]=A[s][i]。 MA[0]。 printf(\nnumber of the block:%d,s)。 } else /*沒(méi)有其它空閑塊組*/ { printf(\nThere isn39。t any space)。 return。 } } else /*當(dāng)前組已分配完*/ { for(i=0。i=3。i++) MA[i]=A[0][i]。 assign()。 } display()。 /*顯示分組情況*/ }void callback() /*回收空閑塊*/{ int i,j,temp。 printf(\ninput the No. of the block you want to callback:)。 scanf(%d,amp。j)。 getchar()。 /*得到待回收的空閑塊號(hào)*/ for(temp=1。temp=No。temp++) { if(mark[temp]==j) break。 } if(tempNo+1) /*若該空閑塊已在,退出*/ { printf(\nThe block is in the disk)。 return。 } if(MA[0]3) /*當(dāng)前組不滿3塊*/ { i=MA[0]。 MA[i+1]=j。 MA[0]++。 } else /*已有3塊*/ { for(i=0。i=3。i++) A[j][i]=MA[i]。 MA[0]=1。 MA[1]=j。 } display()。 /*顯示*/ }void menu() /*功能選擇函數(shù)*/{ int choice。 char judge。 printf(\ninput your choice:(1assign,2callback):)。 scanf(%d,amp。choice)。 getchar()。 if(choice==1) assign()。 else if(choice==2) callback()。 else printf(\ninvalid mand!)。 printf(\ncontinue or not?(yYes,nNot):)。 scanf(%c,amp。judge)。 getchar()。 if(judge==39。y39。) menu()。 else { printf(\nNow the graph is:)。 display()。 printf(\npress any key to quit)。 } } main(){ int i。 for(i=0。i=3。i++) MA[i]=A[0][i]。 display()。 menu()。}
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1