0_0_14590422_12359.cpp:5:19: error: expected ']' before ';' token
#define maxn 155;
^
0_0_14590422_12359.cpp:9:9: note: in expansion of macro 'maxn'
int Map[maxn][maxn];
^
0_0_14590422_12359.cpp:9:13: error: expected unqualified-id before ']' token
int Map[maxn][maxn];
^
0_0_14590422_12359.cpp:9:19: error: expected unqualified-id before ']' token
int Map[maxn][maxn];
^
0_0_14590422_12359.cpp: In function 'void init()':
0_0_14590422_12359.cpp:12:22: error: expected primary-expression before ';' token
for(int i=0;i<maxn;i++)
^
0_0_14590422_12359.cpp:12:22: error: expected ')' before ';' token
0_0_14590422_12359.cpp:12:23: error: 'i' was not declared in this scope
for(int i=0;i<maxn;i++)
^
0_0_14590422_12359.cpp: In function 'int main()':
0_0_14590422_12359.cpp:45:16: error: 'Map' was not declared in this scope
if(Map[mp[tmp1]][mp[tmp2]]>len)
^
0_0_14590422_12359.cpp:57:24: error: 'Map' was not declared in this scope
if(Map[i][j]>Map[i][k]+Map[k][j])
^
0_0_14590422_12359.cpp:64:17: error: 'Map' was not declared in this scope
else if(Map[1][2]>=INF)
^
0_0_14590422_12359.cpp:6:25: error: expected ')' before ';' token
#define INF 0xfffffff;
^
0_0_14590422_12359.cpp:64:28: note: in expansion of macro 'INF'
else if(Map[1][2]>=INF)
^
0_0_14590422_12359.cpp:64:31: error: expected primary-expression before ')' token
else if(Map[1][2]>=INF)
^
0_0_14590422_12359.cpp:66:9: error: 'else' without a previous 'if'
else
^
0_0_14590422_12359.cpp:67:27: error: 'Map' was not declared in this scope
printf("%d\n",Map[1][2]);
^
|