91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.14MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-30
  • 語言: C/C++
  • 標簽: C++??數據結構??

資源簡介

輸入: 輸入選擇的操作類型的選項進行相應的查詢操作 ② 輸出: 輸出相應信息 ③ 程序所能達到的功能: 系統能夠實現校園平面圖的輸出,查詢景點介紹,查詢景點間的所有路徑,查詢景點間的最短路徑,查詢瀏覽校園的路線。

資源截圖

代碼片段和文件信息

#include“Graph.h“
//創建無向圖
void?create(AMGraph?&Gint?vnumint?anum)
{
int?i?j;
G.vexnum?=?vnum;
G.arcnum?=?anum;
for?(i?=?0;?i? G.vexs[i].num?=?i;
strcpy_s(G.vexs[0].name?“正門“);
strcpy_s(G.vexs[1].name?“一教“);
strcpy_s(G.vexs[2].name?“二教“);
strcpy_s(G.vexs[3].name?“綜餐“);
strcpy_s(G.vexs[4].name?“大禮堂“);
strcpy_s(G.vexs[5].name?“翠園“);
strcpy_s(G.vexs[6].name?“沁園“);
strcpy_s(G.vexs[7].name?“基教“);
strcpy_s(G.vexs[8].name?“圖書館“);
strcpy_s(G.vexs[9].name?“體育館“);
strcpy_s(G.vexs[10].name?“學二“);
strcpy_s(G.vexs[11].name?“排球場“);
strcpy_s(G.vexs[12].name?“九棟“);
strcpy_s(G.vexs[13].name?“游泳館“);
strcpy_s(G.vexs[14].name?“學一“);
strcpy_s(G.vexs[15].name?“15棟“);
strcpy_s(G.vexs[16].name?“10棟“);
strcpy_s(G.vexs[17].name?“1棟“);
strcpy_s(G.vexs[18].name?“第九實驗樓“);
strcpy_s(G.vexs[19].name?“西操場“);
strcpy_s(G.vexs[20].name?“籃球場“);
strcpy_s(G.vexs[21].name?“出口“);

strcpy_s(G.vexs[0].intro?“石家莊鐵道大學南門“);
strcpy_s(G.vexs[1].intro?“第一教學樓“);
strcpy_s(G.vexs[2].intro?“第二教學樓“);
strcpy_s(G.vexs[3].intro?“飯菜可口“);
strcpy_s(G.vexs[4].intro?“演出等活動的地方“);
strcpy_s(G.vexs[5].intro?“小花園“);
strcpy_s(G.vexs[6].intro?“小花園,有噴泉“);
strcpy_s(G.vexs[7].intro?“基礎教學樓“);
strcpy_s(G.vexs[8].intro?“可借閱圖書,內含電子閱覽室,自習室“);
strcpy_s(G.vexs[9].intro?“籃球,羽毛球,排球場地“);
strcpy_s(G.vexs[10].intro?“飯菜一般,有黑暗料理“);
strcpy_s(G.vexs[11].intro?“露天排球場“);
strcpy_s(G.vexs[12].intro?“男生宿舍“);
strcpy_s(G.vexs[13].intro?“露天游泳館“);
strcpy_s(G.vexs[14].intro?“飯菜一般,價格便宜“);
strcpy_s(G.vexs[15].intro?“女生宿舍“);
strcpy_s(G.vexs[16].intro?“男生宿舍“);
strcpy_s(G.vexs[17].intro?“女生宿舍“);
strcpy_s(G.vexs[18].intro?“機房,實驗室“);
strcpy_s(G.vexs[19].intro?“適宜足球,籃球,排球,乒乓球,跑步“);
strcpy_s(G.vexs[20].intro?“大場地籃球場“);

for?(i?=?0;?i? for?(j?=?0;?j? G.arcs[i][j].weight=?MaxInt;
G.arcs[0][1].weight?=?G.arcs[1][0].weight?=?300;
G.arcs[0][2].weight?=?G.arcs[2][0].weight?=?200;
G.arcs[1][2].weight?=?G.arcs[2][1].weight?=?100;
G.arcs[1][3].weight?=?G.arcs[3][1].weight?=?400;
G.arcs[1][4].weight?=?G.arcs[4][1].weight?=?200;
G.arcs[1][5].weight?=?G.arcs[5][1].weight?=?300;
G.arcs[1][6].weight?=?G.arcs[6][1].weight?=?300;
G.arcs[3][7].weight?=?G.arcs[7][3].weight?=?300;
G.arcs[4][8].weight?=?G.arcs[8][4].weight?=?300;
G.arcs[5][9].weight?=?G.arcs[9][5].weight?=?500;
G.arcs[6][8].weight?=?G.arcs[8][6].weight?=?50;
G.arcs[7][8].weight?=?G.arcs[8][7].weight?=?100;
G.arcs[7][9].weight?=?G.arcs[9][7].weight?=?100;
G.arcs[7][11].weight?=?G.arcs[11][7].weight?=?200;
G.arcs[7][12].weight?=?G.arcs[12][7].weight?=?100;
G.arcs[7][18].weight?=?G.arcs[18][7].weight?=?50;
G.arcs[9][13].weight?=?G.arcs[13][9].weight?=?100;
G.arcs[9][19].weight?=?G.arcs[19][9].weight?=?100;
G.arcs[10][11].weight?=?G.arcs[11][10].weight?=?20;
G.arcs[10][12].weight?=?G.arcs[12][10].weight?=?100;
G.arcs[10][14].weight?=?G.arcs[14][10].weight?=?10;
G.ar

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????56320??2017-07-07?11:12??校園導游\Debug\校園導游.exe

?????文件?????549892??2017-07-07?11:12??校園導游\Debug\校園導游.ilk

?????文件?????830464??2017-07-07?11:12??校園導游\Debug\校園導游.pdb

?????文件???15466496??2017-07-07?11:22??校園導游\ipch\校園導游-e54538e9\校園導游-85feedae.ipch

?????文件??????76651??2017-07-06?19:48??校園導游\截圖\0.1.jpg

?????文件?????134689??2017-07-06?19:50??校園導游\截圖\0.2.jpg

?????文件?????114585??2017-07-06?19:50??校園導游\截圖\0.3.jpg

?????文件??????44151??2017-07-06?19:24??校園導游\截圖\1.jpg

?????文件??????60956??2017-07-07?11:13??校園導游\截圖\2.jpg

?????文件??????47607??2017-07-06?19:37??校園導游\截圖\3.0.jpg

?????文件?????243579??2017-07-06?19:25??校園導游\截圖\3.jpg

?????文件??????12855??2017-07-06?19:44??校園導游\截圖\4.0.jpg

?????文件??????23990??2017-07-06?19:26??校園導游\截圖\4.jpg

?????文件??????40238??2017-07-06?19:26??校園導游\截圖\5.jpg

?????文件??????30001??2017-07-06?19:23??校園導游\截圖\shuru.jpg

?????文件??????14344??2017-07-06?19:29??校園導游\截圖\景點合法1.jpg

?????文件???????1782??2017-07-07?11:12??校園導游\校園導游\Debug\cl.command.1.tlog

?????文件??????16982??2017-07-07?11:12??校園導游\校園導游\Debug\CL.read.1.tlog

?????文件????????758??2017-07-07?11:12??校園導游\校園導游\Debug\CL.write.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link-cvtres.read.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link-cvtres.write.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.10088-cvtres.read.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.10088-cvtres.write.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.10088.read.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.10088.write.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.1236-cvtres.read.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.1236-cvtres.write.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.1236.read.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.1236.write.1.tlog

?????文件??????????2??2017-07-07?11:12??校園導游\校園導游\Debug\link.1664-cvtres.read.1.tlog

............此處省略59個文件信息

評論

共有 條評論