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_17371229_15754.cpp:10:21: error: expected primary-expression before ']' token
 vector<int >mp[maxn*];
                     ^
0_0_17371229_15754.cpp: In function 'void Tarjan(int)':
0_0_17371229_15754.cpp:27:19: error: 'mp' was not declared in this scope
     for(int i=0;i<mp[u].size();i++)
                   ^
0_0_17371229_15754.cpp: In function 'void Slove()':
0_0_17371229_15754.cpp:68:23: error: 'mp' was not declared in this scope
         for(int j=0;j<mp[i].size();j++)
                       ^
0_0_17371229_15754.cpp: In function 'int main()':
0_0_17371229_15754.cpp:139:30: error: 'mp' was not declared in this scope
         for(int i=1;i<=n;i++)mp[i].clear(),mp2[i].clear();
                              ^
0_0_17371229_15754.cpp:145:13: error: 'mp' was not declared in this scope
             mp[x].push_back(y);
             ^


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-10-05 20:57:53, Gzip enabled