0_0_32025555_22259.cpp: In function 'void spfa(int)':
0_0_32025555_22259.cpp:52:13: error: 'inf' was not declared in this scope
memset(dis,inf,sizeof(dis));
^
0_0_32025555_22259.cpp:55:6: error: 's' was not declared in this scope
dis[s]=0;
^
0_0_32025555_22259.cpp: In function 'int main()':
0_0_32025555_22259.cpp:124:10: error: expected unqualified-id before '[' token
const[i][j]=dis[p[j]];
^
0_0_32025555_22259.cpp:125:8: error: decl-specifier invalid in condition
if(register cost[i][j]==inf)
^
0_0_32025555_22259.cpp:125:8: error: expected primary-expression before 'register'
0_0_32025555_22259.cpp:125:8: error: expected ')' before 'register'
0_0_32025555_22259.cpp:139:13: error: 'inf' was not declared in this scope
memset(dp,inf,sizeof(dp));
^
0_0_32025555_22259.cpp:150:47: error: invalid types 'int[int]' for array subscript
dp[i][j]=min(dp[i][j],dp[i^(1<<j)][kk][j]);
^
|