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_36638706_13977.cpp:2:2: error: invalid preprocessing directive #incldue
 #incldue <queue>
  ^
0_0_36638706_13977.cpp:15:1: error: 'queue' does not name a type
 queue<T> q[2];
 ^
0_0_36638706_13977.cpp:20:12: error: variable or field 'clear' declared void
 void clear(queue<T>& que) { queue<T> empty; swap(empty, que); }
            ^
0_0_36638706_13977.cpp:20:12: error: 'queue' was not declared in this scope
0_0_36638706_13977.cpp:20:19: error: expected primary-expression before '>' token
 void clear(queue<T>& que) { queue<T> empty; swap(empty, que); }
                   ^
0_0_36638706_13977.cpp:20:22: error: 'que' was not declared in this scope
 void clear(queue<T>& que) { queue<T> empty; swap(empty, que); }
                      ^
0_0_36638706_13977.cpp: In function 'bool bfs(int, int, char, char)':
0_0_36638706_13977.cpp:26:18: error: 'q' was not declared in this scope
         int sz = q[i].size();
                  ^
0_0_36638706_13977.cpp: In function 'int solve()':
0_0_36638706_13977.cpp:45:11: error: 'q' was not declared in this scope
     clear(q[0]); clear(q[1]);
           ^
0_0_36638706_13977.cpp:45:15: error: 'clear' was not declared in this scope
     clear(q[0]); clear(q[1]);
               ^


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-23 10:49:02, Gzip enabled