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_36455293_29869.cpp:18:1: error: 'vector' does not name a type
 vector<int> v[maxn];
 ^
0_0_36455293_29869.cpp: In function 'void DFS(int, int)':
0_0_36455293_29869.cpp:50:16: error: 'v' was not declared in this scope
     for(auto f:v[m])
                ^
0_0_36455293_29869.cpp: In function 'void solve()':
0_0_36455293_29869.cpp:62:5: error: 'cin' was not declared in this scope
     cin >> n;
     ^
0_0_36455293_29869.cpp:66:9: error: 'v' was not declared in this scope
         v[i].push_back(t);
         ^
0_0_36455293_29869.cpp:82:9: error: 'cout' was not declared in this scope
         cout << ans1 << " " << ans2 << endl;
         ^
0_0_36455293_29869.cpp:82:40: error: 'endl' was not declared in this scope
         cout << ans1 << " " << ans2 << endl;
                                        ^
0_0_36455293_29869.cpp:86:9: error: 'v' was not declared in this scope
         v[i].clear();
         ^
0_0_36455293_29869.cpp: In function 'int main()':
0_0_36455293_29869.cpp:95:2: error: 'cin' was not declared in this scope
  cin.sync_with_stdio(0);
  ^


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 04:43:02, Gzip enabled