【正文】
prime(G,0)。a。 closedge[k].lowcost=TURE。i++) { min=100。 }closedge[10]。n++)。b,amp。jGn。iGn。//定義結(jié)構(gòu)體void greatemgraph(mgraph *G){ int i,j,k,weight,m,n?!驹O(shè)計(jì)功能的實(shí)現(xiàn)】includeincludedefine TURE 999typedef struct ArcNode{ char vexs[10]。for(i=0。system(pause)。k++。while(!(feof(fp)))FILE structflag。a(2) 通過FILE指針判斷文本打開是否成功,成功則輸入單詞。}//輸出最高講學(xué)金。})sum[i]+=1000。amp。a[i].title0)%d,amp。 for(i=0。 int scanf(%d,amp。 }a[100]。 charmain()發(fā)放的獎(jiǎng)學(xué)金共有五種,獲取的條件各自不同:1) 院士獎(jiǎng)學(xué)金,每人8000元,期末平均成績(jī)高于80分(80),并且在本學(xué)期內(nèi)發(fā)表1篇或1篇以上論文的學(xué)生均可獲得;2) 五四獎(jiǎng)學(xué)金,每人4000元,期末平均成績(jī)高于85分(85),并且班級(jí)評(píng)議成績(jī)高于80分(80)的學(xué)生均可獲得;3) 成績(jī)優(yōu)秀獎(jiǎng),每人2000元,期末平均成績(jī)高于90分(90)的學(xué)生均可獲得;4) 西部獎(jiǎng)學(xué)金,每人1000元,期末平均成績(jī)高于85分(85)的西部省份學(xué)生均可獲得;5) 班級(jí)貢獻(xiàn)獎(jiǎng),每人850元,班級(jí)評(píng)議成績(jī)高于80分(80)的學(xué)生干部均可獲得;只要符合條件就可以得獎(jiǎng),每項(xiàng)獎(jiǎng)學(xué)金的獲獎(jiǎng)人數(shù)沒有限制,每名學(xué)生也可以同時(shí)獲得多項(xiàng)獎(jiǎng)學(xué)金。i=1。if(j=n){printf(%f:%d\n,a[0],n)。jn。n)。已知不相同的數(shù)不超過10000個(gè),現(xiàn)在需要統(tǒng)計(jì)這些自然數(shù)各自出現(xiàn)的次數(shù),并按照自然數(shù)從小到大的順序輸出統(tǒng)計(jì)結(jié)果。freopen(,r,stdin)。//輸入n個(gè)自然數(shù)for(i=0。for(i=0,j=1。sum=1。freopen(,w,stdout)?!驹O(shè)計(jì)功能的實(shí)現(xiàn)】includecharintintcharN。i。add=0。%da[i].xibu,amp。amp。a[i].xibu==39。 int intif(sum[j]max)max=sum[j]。} expecting the promising tomorrow, over 30,000 TUT students and faculty are producing splendor and perspectives by their wisdom and diligence. In the new era, Taiyuan University of Technology, following the Conception of Scientific Development, is determined to further the reformation on education, to reinforce the teaching management so as to upgrade its teaching and researching levels. Taiyuan University of Technology will be turn