0_0_25110140_22667.cpp:1:1: error: 'include' does not name a type
include <stdio.h>
^
0_0_25110140_22667.cpp: In function 'void floyd(int)':
0_0_25110140_22667.cpp:13:9: error: 'map' was not declared in this scope
if (map[a][c] + map[c][b]<map[a][b])
^
0_0_25110140_22667.cpp: In function 'int main()':
0_0_25110140_22667.cpp:19:29: error: 'scanf' was not declared in this scope
while (scanf("%d%d", &n, &m) != EOF)
^
0_0_25110140_22667.cpp:19:34: error: 'EOF' was not declared in this scope
while (scanf("%d%d", &n, &m) != EOF)
^
0_0_25110140_22667.cpp:23:5: error: 'map' was not declared in this scope
map[i][j] = MAX;
^
0_0_25110140_22667.cpp:24:30: error: 'map' was not declared in this scope
for (int i = 0; i<200; i++)map[i][i] = 0;
^
0_0_25110140_22667.cpp:29:15: error: 'map' was not declared in this scope
if (length<map[from][to])
^
0_0_25110140_22667.cpp:34:7: error: 'map' was not declared in this scope
if (map[from][to] == MAX)printf("-1\n");
^
0_0_25110140_22667.cpp:34:41: error: 'printf' was not declared in this scope
if (map[from][to] == MAX)printf("-1\n");
^
0_0_25110140_22667.cpp:35:36: error: 'printf' was not declared in this scope
else printf("%d\n", map[from][to]);
^
|