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_22206437_5024.cpp:6:1: error: expected unqualified-id before '<' token
 <span class="hljs-built_in">vector<int> ma[1005];
 ^
0_0_22206437_5024.cpp:11:1: error: expected unqualified-id before '<' token
 <span class="hljs-built_in">set<pair<ll,ll> > q;
 ^
0_0_22206437_5024.cpp: In function 'void bfs()':
0_0_22206437_5024.cpp:22:5: error: expected primary-expression before '<' token
     <span class="hljs-built_in">queue<int> qq;
     ^
0_0_22206437_5024.cpp:22:6: error: 'span' was not declared in this scope
     <span class="hljs-built_in">queue<int> qq;
      ^
0_0_22206437_5024.cpp:23:5: error: 'qq' was not declared in this scope
     qq.push(s);
     ^
0_0_22206437_5024.cpp:30:24: error: 'ma' was not declared in this scope
         for(int i=0; i<ma[cur].size(); i++)
                        ^
0_0_22206437_5024.cpp: In function 'int main()':
0_0_22206437_5024.cpp:54:14: error: 'q' was not declared in this scope
         n+=2,q.clear(),l*=l;
              ^
0_0_22206437_5024.cpp:56:13: error: 'ma' was not declared in this scope
             ma[i].clear();
             ^
0_0_22206437_5024.cpp:74:17: error: 'ma' was not declared in this scope
                 ma[i].push_back(j);
                 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 08:37:04, Gzip enabled