0_0_24650910_20959.cpp: In function 'int main()':
0_0_24650910_20959.cpp:16:26: error: 'memset' was not declared in this scope
memset(f,MAXN,sizeof(f));
^
0_0_24650910_20959.cpp:22:11: error: incompatible types in assignment of 'int' to 'int [1009]'
f[s][e]=w;
^
0_0_24650910_20959.cpp:23:11: error: incompatible types in assignment of 'int' to 'int [1009]'
f[e][s]=w;
^
0_0_24650910_20959.cpp:24:4: error: 'p' was not declared in this scope
p=min(p,e);
^
0_0_24650910_20959.cpp:26:18: error: 'p' was not declared in this scope
for(int i=1;i<=p;i++) f[i][i]=0;
^
0_0_24650910_20959.cpp:26:32: error: incompatible types in assignment of 'int' to 'int [1009]'
for(int i=1;i<=p;i++) f[i][i]=0;
^
0_0_24650910_20959.cpp:27:18: error: 'p' was not declared in this scope
for(int k=1;k<=p,k++){
^
0_0_24650910_20959.cpp:27:23: error: expected ';' before ')' token
for(int k=1;k<=p,k++){
^
0_0_24650910_20959.cpp:30:40: error: invalid operands of types 'int [1009]' and 'int [1009]' to binary 'operator+'
f[i][j]=min(f[i][j],f[i][k]+f[k][j]);
^
0_0_24650910_20959.cpp:5:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
#define MAXN (1<<28)
^
0_0_24650910_20959.cpp:37:16: note: in expansion of macro 'MAXN'
if(f[1][x]!=MAXN)
^
|