0_0_30628945_27230.cpp:5:1: error: 'queue' does not name a type
queue <int> que;
^
0_0_30628945_27230.cpp:11:1: error: 'vector' does not name a type
vector <node> E[maxn];
^
0_0_30628945_27230.cpp: In function 'void spfa(int)':
0_0_30628945_27230.cpp:14:9: error: 'que' was not declared in this scope
while(!que.empty()){
^
0_0_30628945_27230.cpp:17:18: error: 'E' was not declared in this scope
for (int i=0;i<E[tmp].size();i++){
^
0_0_30628945_27230.cpp: At global scope:
0_0_30628945_27230.cpp:27:1: error: 'vector' does not name a type
vector <int> keyp;
^
0_0_30628945_27230.cpp: In function 'void ST()':
0_0_30628945_27230.cpp:30:27: error: 'memset' was not declared in this scope
memset(dp,0x3f,sizeof(dp));
^
0_0_30628945_27230.cpp:32:17: error: 'keyp' was not declared in this scope
for (int i=0;i<keyp.size();i++){
^
0_0_30628945_27230.cpp:35:12: error: 'keyp' was not declared in this scope
int cnt = keyp.size();
^
0_0_30628945_27230.cpp:39:46: error: 'min' was not declared in this scope
dp[i][S]=min(dp[i][S],dp[i][T]+dp[i][T^S]);
^
0_0_30628945_27230.cpp:42:52: error: 'que' was not declared in this scope
for (int i=1;i<=N;i++) if (dp[i][S]<inf) in[i]=1,que.push(i);
^
|