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_32743447_28404.cpp:14:9: error: 'pairPII' does not name a type
 typedef pairPII;
         ^
0_0_32743447_28404.cpp:28:1: error: 'vectoradj' does not name a type
 vectoradj[MAXN];
 ^
0_0_32743447_28404.cpp: In function 'void dfs(int)':
0_0_32743447_28404.cpp:36:26: error: 'adj' was not declared in this scope
     if (!room[u].cost && adj[u].size()==1 && u!=1) 
                          ^
0_0_32743447_28404.cpp:43:25: error: 'adj' was not declared in this scope
     for (int i = 0; i < adj[u].size(); ++i) {
                         ^
0_0_32743447_28404.cpp: In function 'int main()':
0_0_32743447_28404.cpp:59:13: error: 'adj' was not declared in this scope
             adj[i].clear();
             ^
0_0_32743447_28404.cpp:70:13: error: 'adj' was not declared in this scope
             adj[u].push_back(v);
             ^


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-16 14:22:15, Gzip enabled