0_0_28162312_3777.cpp:1:15: error: expected constructor, destructor, or type conversion before ';' token
init();
^
0_0_28162312_3777.cpp:2:9: error: expected unqualified-id before 'for'
for(int i = 1; i <= x; i++){
^
0_0_28162312_3777.cpp:2:24: error: 'i' does not name a type
for(int i = 1; i <= x; i++){
^
0_0_28162312_3777.cpp:2:32: error: 'i' does not name a type
for(int i = 1; i <= x; i++){
^
0_0_28162312_3777.cpp:7:9: error: expected unqualified-id before 'for'
for(int i = 1; i < x; i++)addedge(0, (i - 1) * (x - 1) + 1, w[i][1]);
^
0_0_28162312_3777.cpp:7:24: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge(0, (i - 1) * (x - 1) + 1, w[i][1]);
^
0_0_28162312_3777.cpp:7:31: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge(0, (i - 1) * (x - 1) + 1, w[i][1]);
^
0_0_28162312_3777.cpp:8:9: error: expected unqualified-id before 'for'
for(int i = 1; i < x; i++)addedge(0, (x - 2) * (x - 1) + i, w[x][i]);
^
0_0_28162312_3777.cpp:8:24: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge(0, (x - 2) * (x - 1) + i, w[x][i]);
^
0_0_28162312_3777.cpp:8:31: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge(0, (x - 2) * (x - 1) + i, w[x][i]);
^
0_0_28162312_3777.cpp:9:9: error: expected unqualified-id before 'for'
for(int i = 1; i < x; i++)addedge((i - 1) * (x - 1) + x - 1, s, w[i][x]);
^
0_0_28162312_3777.cpp:9:24: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge((i - 1) * (x - 1) + x - 1, s, w[i][x]);
^
0_0_28162312_3777.cpp:9:31: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge((i - 1) * (x - 1) + x - 1, s, w[i][x]);
^
0_0_28162312_3777.cpp:10:9: error: expected unqualified-id before 'for'
for(int i = 1; i < x; i++)addedge(i, s, w[1][i]);
^
0_0_28162312_3777.cpp:10:24: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge(i, s, w[1][i]);
^
0_0_28162312_3777.cpp:10:31: error: 'i' does not name a type
for(int i = 1; i < x; i++)addedge(i, s, w[1][i]);
^
0_0_28162312_3777.cpp:11:9: error: expected unqualified-id before 'for'
for(int i = x - 1; i; i--){
^
0_0_28162312_3777.cpp:11:28: error: 'i' does not name a type
for(int i = x - 1; i; i--){
^
0_0_28162312_3777.cpp:11:31: error: 'i' does not name a type
for(int i = x - 1; i; i--){
^
0_0_28162312_3777.cpp:19:14: error: expected constructor, destructor, or type conversion before ';' token
dij();
^
0_0_28162312_3777.cpp:20:9: error: 'cout' does not name a type
cout << d[s] << '\n';
^
0_0_28162312_3777.cpp:21:6: error: expected declaration before '}' token
}
^
|