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_19272434_7096.cpp:32:1: error: invalid use of template-name 'std::queue' without an argument list
 queue
 ^
0_0_19272434_7096.cpp:36:10: error: 'MAXN' was not declared in this scope
 int link[MAXN],first[MAXN],ntot;
          ^
0_0_19272434_7096.cpp:36:22: error: 'MAXN' was not declared in this scope
 int link[MAXN],first[MAXN],ntot;
                      ^
0_0_19272434_7096.cpp:37:10: error: 'MAXN' was not declared in this scope
 bool vis[MAXN];
          ^
0_0_19272434_7096.cpp:44:8: error: 'MAXN' was not declared in this scope
 } edge[MAXN];
        ^
0_0_19272434_7096.cpp: In function 'void init()':
0_0_19272434_7096.cpp:48:11: error: 'first' was not declared in this scope
     memst(first,-1);
           ^
0_0_19272434_7096.cpp:29:27: note: in definition of macro 'memst'
 #define memst(a,b) memset(a,b,sizeof(a))
                           ^
0_0_19272434_7096.cpp: In function 'void addedge(int, int)':
0_0_19272434_7096.cpp:52:5: error: 'edge' was not declared in this scope
     edge[ntot].t=t,edge[ntot].next=first[s];
     ^
0_0_19272434_7096.cpp:52:36: error: 'first' was not declared in this scope
     edge[ntot].t=t,edge[ntot].next=first[s];
                                    ^
0_0_19272434_7096.cpp: In function 'bool dfs(int)':
0_0_19272434_7096.cpp:59:15: error: 'first' was not declared in this scope
     for(int i=first[x]; i!=-1; i=edge[i].next)
               ^
0_0_19272434_7096.cpp:59:34: error: 'edge' was not declared in this scope
     for(int i=first[x]; i!=-1; i=edge[i].next)
                                  ^
0_0_19272434_7096.cpp:62:12: error: 'vis' was not declared in this scope
         if(vis[to]==0)
            ^
0_0_19272434_7096.cpp:65:16: error: 'link' was not declared in this scope
             if(link[to]==-1||dfs(link[to]))
                ^
0_0_19272434_7096.cpp: In function 'int max_match(int)':
0_0_19272434_7096.cpp:76:11: error: 'link' was not declared in this scope
     memst(link,-1);
           ^
0_0_19272434_7096.cpp:29:27: note: in definition of macro 'memst'
 #define memst(a,b) memset(a,b,sizeof(a))
                           ^
0_0_19272434_7096.cpp:80:15: error: 'vis' was not declared in this scope
         memst(vis,0);
               ^
0_0_19272434_7096.cpp:29:27: note: in definition of macro 'memst'
 #define memst(a,b) memset(a,b,sizeof(a))
                           ^


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-19 01:24:48, Gzip enabled