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_17203042_7815.cpp:6:1: error: 'vector' does not name a type
 vector<int> p[N];
 ^
0_0_17203042_7815.cpp:7:1: error: 'queue' does not name a type
 queue<int> q;
 ^
0_0_17203042_7815.cpp: In function 'void DFS(int, int)':
0_0_17203042_7815.cpp:12:27: error: 'max' was not declared in this scope
     depth = max(depth,step);
                           ^
0_0_17203042_7815.cpp:13:8: error: 'p' was not declared in this scope
     FI(p[top].size()){
        ^
0_0_17203042_7815.cpp:13:21: error: 'FI' was not declared in this scope
     FI(p[top].size()){
                     ^
0_0_17203042_7815.cpp: In function 'bool BFS()':
0_0_17203042_7815.cpp:21:19: error: 'fill' was not declared in this scope
     fill(vis,false);
                   ^
0_0_17203042_7815.cpp:25:15: error: 'FI' was not declared in this scope
     FI(depth+1){
               ^
0_0_17203042_7815.cpp: In function 'int main()':
0_0_17203042_7815.cpp:34:15: error: 'S' was not declared in this scope
      while(S(n)!=EOF)
               ^
0_0_17203042_7815.cpp:34:18: error: 'EOF' was not declared in this scope
      while(S(n)!=EOF)
                  ^
0_0_17203042_7815.cpp:36:15: error: 'FI' was not declared in this scope
         FI(n+1)   p[i].clear();
               ^
0_0_17203042_7815.cpp:43:27: error: 'printf' was not declared in this scope
             printf("YES\n");
                           ^
0_0_17203042_7815.cpp:45:26: error: 'printf' was not declared in this scope
             printf("NO\n");
                          ^


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-26 12:59:20, Gzip enabled