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

正文內(nèi)容

數(shù)據(jù)結(jié)構(gòu)課程設(shè)計(jì)停車場(chǎng)模擬管理系統(tǒng)報(bào)告(含源碼)(編輯修改稿)

2024-08-30 23:59 本頁面
 

【文章內(nèi)容簡介】 axnum。i++)sstack[i]=NULL。}int queuehall(LINKQUEUECAR * q)//{if (qhead==NULL){qhead=(QUEUENODE *)malloc(sizeof(QUEUENODE))。qheadnext=NULL。qrear=qhead。return ok。}elsereturn error。}void print(CARNODE * p,int room)//已選中的停車場(chǎng)中的車,確定其離開的時(shí)間,并顯示計(jì)費(fèi){int a1,a2,b1,b2。double Price。cout請(qǐng)輸入車輛離開的時(shí)間(時(shí)和分用空格隔開):。cinpp。while(p0||p24||p0||p60){cout時(shí)間輸入有錯(cuò),請(qǐng)重新輸入:。cinpp。}cout\n 離開車輛的車牌號(hào)碼:。coutpnumber。cout\n 該車輛到達(dá)的時(shí)間為:。if(p10)cout0p:。elsecoutp:。if(p10)cout0pendl。elsecoutpendl。cout離開時(shí)間為:。if(p10)cout0p:。elsecoutp:。if(p10)cout0pendl。elsecoutpendl。a1=p。a2=p。b1=p。b2=p。Price=((b1a1)*60+(b2a2))*price。if(Price1)Price=1。cout\n 該車應(yīng)交費(fèi)用為:setprecision(2)setiosflags(ios::fixed)Price元endl。free(p)。}int Arrive(SEQSTACKCAR * enter,LINKQUEUECAR *w)//車進(jìn)入停車場(chǎng){CARNODE * p。QUEUENODE * t。p=(CARNODE *)malloc(sizeof(CARNODE))。cout請(qǐng)輸入車牌號(hào)碼(鄂 C12345):。cinpnumber。if(entertopmaxnum){entertop++。cout\n 車輛在停車場(chǎng)的第entertop個(gè)位置。endl。cout請(qǐng)輸入車輛到達(dá)的時(shí)間的時(shí)和分(用空格隔開):。cinpp。while(p0||p24||p0||p60){cout時(shí)間輸入有錯(cuò),請(qǐng)重新輸入:。cinpp。}enterstack[entertop]=p。cout車輛停放完畢!endl。return ok。}else{cout\n 該車輛需在便道等待!\nflush。t=(QUEUENODE *)malloc(sizeof(QUEUENODE))。tdata=p。tnext=NULL。wrearnext=t。wrear=t。return ok。}}void Leave(SEQSTACKCAR * enter,SEQSTACKCAR * temp,LINKQUEUECAR * w)//確定要離開的車所在的車道{int room。CARNODE *p,* t。QUEUENODE * q。if (entertop0){while (1){cout\n 請(qǐng)輸入車所在停車場(chǎng)的位置:。cinroom。if(room=1amp。amp。room=entertop)break。}while (entertoproom){temptop++。tempstack[temptop]=enterstack[entertop]。enterstack[entertop]=NULL。entertop。}p=enterstack[entertop]。enterstack[entertop]=NULL。entertop。while (temptop=1){entertop++。enterstack[entertop]=tempstack[temptop]。tempstack[temptop]=NULL。temptop。}print(p,room)。cout\n 車輛已離開!endl。system(pause)。if ((whead!=wrear)amp。amp。entertopmaxnum){q=wheadnext。t=qdata。entertop++。cout\n 便道的tnumber 號(hào)車進(jìn)入停車場(chǎng)entertop號(hào)位置。endl。cout請(qǐng)輸入現(xiàn)在的時(shí)間(時(shí)和分用空格隔開):。cintt。while(t0||t24||t0||t60){cout時(shí)間輸入有錯(cuò),請(qǐng)重新輸入:。cintt。}wheadnext=qnext。if(q==wr
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1