0_0_6403012_31856\Main.java:1: illegal character: \35
#include <iostream>
^
0_0_6403012_31856\Main.java:4: class, interface, or enum expected
const int MAX = 110;
^
0_0_6403012_31856\Main.java:5: class, interface, or enum expected
const int INF = 99999999;
^
0_0_6403012_31856\Main.java:7: class, interface, or enum expected
int dist[MAX]; //记录当前点到源点的最短时间
^
0_0_6403012_31856\Main.java:8: class, interface, or enum expected
int c[MAX][MAX]; //记录两城市之间的时间
^
0_0_6403012_31856\Main.java:9: class, interface, or enum expected
bool hash[MAX]; //记录当前节点是否被处理
^
0_0_6403012_31856\Main.java:10: class, interface, or enum expected
int L; //节点数
^
0_0_6403012_31856\Main.java:13: class, interface, or enum expected
int max(int a, int b)
^
0_0_6403012_31856\Main.java:16: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:20: class, interface, or enum expected
for(i = 0; i <= L; i++)
^
0_0_6403012_31856\Main.java:20: class, interface, or enum expected
for(i = 0; i <= L; i++)
^
0_0_6403012_31856\Main.java:20: class, interface, or enum expected
for(i = 0; i <= L; i++)
^
0_0_6403012_31856\Main.java:23: class, interface, or enum expected
dist[i] = INF;
^
0_0_6403012_31856\Main.java:24: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:26: class, interface, or enum expected
dist[start] = 0;
^
0_0_6403012_31856\Main.java:27: class, interface, or enum expected
while(start != end)
^
0_0_6403012_31856\Main.java:29: class, interface, or enum expected
for(i = 1; i <= L; i++)
^
0_0_6403012_31856\Main.java:29: class, interface, or enum expected
for(i = 1; i <= L; i++)
^
0_0_6403012_31856\Main.java:35: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:38: class, interface, or enum expected
for(i = 1; i <= L; i++)
^
0_0_6403012_31856\Main.java:38: class, interface, or enum expected
for(i = 1; i <= L; i++)
^
0_0_6403012_31856\Main.java:38: class, interface, or enum expected
for(i = 1; i <= L; i++)
^
0_0_6403012_31856\Main.java:43: class, interface, or enum expected
start = i;
^
0_0_6403012_31856\Main.java:44: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:47: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:49: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:54: class, interface, or enum expected
while(cin>>n>>m)
^
0_0_6403012_31856\Main.java:58: class, interface, or enum expected
memset(c, 0, sizeof(c));
^
0_0_6403012_31856\Main.java:59: class, interface, or enum expected
for(i = 1; i <= m; i++)
^
0_0_6403012_31856\Main.java:59: class, interface, or enum expected
for(i = 1; i <= m; i++)
^
0_0_6403012_31856\Main.java:59: class, interface, or enum expected
for(i = 1; i <= m; i++)
^
0_0_6403012_31856\Main.java:62: class, interface, or enum expected
if(!c[a][b])
^
0_0_6403012_31856\Main.java:64: class, interface, or enum expected
else
^
0_0_6403012_31856\Main.java:68: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:71: class, interface, or enum expected
cout<<Dijkstra(1, n)<<endl;
^
0_0_6403012_31856\Main.java:72: class, interface, or enum expected
}
^
0_0_6403012_31856\Main.java:74: class, interface, or enum expected
}
|