0_0_20817641_8776.cpp:5:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20817641_8776.cpp:11:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20817641_8776.cpp: In function 'void Clear()':
0_0_20817641_8776.cpp:13:2: error: 'nbsp' was not declared in this scope
memset(visit, false, sizeof(visit));
^
0_0_20817641_8776.cpp:16:77: error: 'i' was not declared in this scope
if (i == j)G[i][j] = 0;
^
0_0_20817641_8776.cpp:16:82: error: 'j' was not declared in this scope
if (i == j)G[i][j] = 0;
^
0_0_20817641_8776.cpp:17:73: error: 'else' without a previous 'if'
else G[i][j] = INF;
^
0_0_20817641_8776.cpp:17:80: error: 'i' was not declared in this scope
else G[i][j] = INF;
^
0_0_20817641_8776.cpp:17:83: error: 'j' was not declared in this scope
else G[i][j] = INF;
^
0_0_20817641_8776.cpp: In function 'void Floyd(int)':
0_0_20817641_8776.cpp:20:2: error: 'nbsp' was not declared in this scope
int i, j;
^
0_0_20817641_8776.cpp: At global scope:
0_0_20817641_8776.cpp:25:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20817641_8776.cpp: In function 'void AddEdge(int, int, int)':
0_0_20817641_8776.cpp:27:2: error: 'nbsp' was not declared in this scope
G[u][v] = min(G[u][v],w);
^
0_0_20817641_8776.cpp: At global scope:
0_0_20817641_8776.cpp:29:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_20817641_8776.cpp: In function 'int main()':
0_0_20817641_8776.cpp:31:2: error: 'nbsp' was not declared in this scope
int u, v, w;
^
0_0_20817641_8776.cpp:47:97: error: expected '}' before 'else'
else {
^
0_0_20817641_8776.cpp:57:121: error: expected '}' before 'else'
else
^
0_0_20817641_8776.cpp:60:97: error: 'else' without a previous 'if'
else printf("ERROR! At path %d to %d\n", x, y);
^
0_0_20817641_8776.cpp: At global scope:
0_0_20817641_8776.cpp:63:6: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20817641_8776.cpp:63:12: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20817641_8776.cpp:63:18: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20817641_8776.cpp:63:24: error: expected constructor, destructor, or type conversion before ';' token
}
^
0_0_20817641_8776.cpp:63:25: error: expected declaration before '}' token
}
^
|