/in/foo.cc: In function 'void floyd()':
/in/foo.cc:19:49: error: expected ')' before '}' token
for (int i=1;i<=e;i++) {scanf("%d%d%d",&x,&y,&z};dis[x][y]=dis[y][x]=z;}
^
/in/foo.cc: At global scope:
/in/foo.cc:20:2: error: expected unqualified-id before 'for'
for (int k=1;k<=v;k++)
^~~
/in/foo.cc:20:15: error: 'k' does not name a type
for (int k=1;k<=v;k++)
^
/in/foo.cc:20:20: error: 'k' does not name a type
for (int k=1;k<=v;k++)
^
/in/foo.cc:21:16: error: 'i' does not name a type
for (int i=1;i<=v;i++)
^
/in/foo.cc:21:21: error: 'i' does not name a type
for (int i=1;i<=v;i++)
^
/in/foo.cc:22:17: error: 'j' does not name a type
for (int j=1;j<=v;j++)
^
/in/foo.cc:22:22: error: 'j' does not name a type
for (int j=1;j<=v;j++)
^
/in/foo.cc:25:1: error: expected declaration before '}' token
}
^