0_0_26295445_539.cpp:6:14: error: expected unqualified-id before numeric constant
#define maxn 1020
^
0_0_26295445_539.cpp:7:11: note: in expansion of macro 'maxn'
const int maxn = 1<<30 ;
^
0_0_26295445_539.cpp: In function 'int spfa()':
0_0_26295445_539.cpp:40:10: error: 'INF' was not declared in this scope
dis[i]=INF;
^
0_0_26295445_539.cpp:65:19: error: 'INF' was not declared in this scope
if(dis[tot*2-1]==INF) return 0;
^
|