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_39444497_13061.cpp: In function 'void updateDFA(int)':
0_0_39444497_13061.cpp:34:5: error: 'vector' was not declared in this scope
   34 |     vector<int> queue;
      |     ^~~~~~
0_0_39444497_13061.cpp:5:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
    4 | #include<algorithm>
  +++ |+#include <vector>
    5 | using namespace std;
0_0_39444497_13061.cpp:34:12: error: expected primary-expression before 'int'
   34 |     vector<int> queue;
      |            ^~~
0_0_39444497_13061.cpp:37:5: error: 'queue' was not declared in this scope
   37 |     queue.clear();
      |     ^~~~~
0_0_39444497_13061.cpp:5:1: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
    4 | #include<algorithm>
  +++ |+#include <queue>
    5 | using namespace std;
0_0_39444497_13061.cpp: In function 'bool bfs()':
0_0_39444497_13061.cpp:66:5: error: 'vector' was not declared in this scope
   66 |     vector<pair<int, int>> queue;
      |     ^~~~~~
0_0_39444497_13061.cpp:66:5: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
0_0_39444497_13061.cpp:66:25: error: expected primary-expression before '>' token
   66 |     vector<pair<int, int>> queue;
      |                         ^~
0_0_39444497_13061.cpp:66:28: error: 'queue' was not declared in this scope
   66 |     vector<pair<int, int>> queue;
      |                            ^~~~~
0_0_39444497_13061.cpp:66:28: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?


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-24 14:38:06, Gzip enabled