F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                                                    ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 17:45:16, Gzip enabled