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_30377319_18411.cpp: In function 'void sou(int, int)':
0_0_30377319_18411.cpp:17:10: error: 'q' was not declared in this scope
  rep(i,1,q[x1].size()) if (q[x1][i-1]!=fa){
          ^
0_0_30377319_18411.cpp:10:36: note: in definition of macro 'rep'
 #define rep(i,l,r) for (int i=l;i<=r;i++)
                                    ^
0_0_30377319_18411.cpp: In function 'void soux(int, int)':
0_0_30377319_18411.cpp:26:10: error: 'q' was not declared in this scope
  rep(i,1,q[x1].size()) if (q[x1][i-1]!=fa){
          ^
0_0_30377319_18411.cpp:10:36: note: in definition of macro 'rep'
 #define rep(i,l,r) for (int i=l;i<=r;i++)
                                    ^
0_0_30377319_18411.cpp: In function 'int main()':
0_0_30377319_18411.cpp:40:14: error: 'q' was not declared in this scope
   rep(i,1,N) q[i].clear();
              ^
0_0_30377319_18411.cpp:43:4: error: 'q' was not declared in this scope
    q[a].push_back(b);
    ^


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-12-12 13:00:34, Gzip enabled