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_20970376_5215.cpp:17:5: error: expected initializer before 'fa'
     fa[u]=pre;
     ^
0_0_20970376_5215.cpp:18:5: error: 'depth' does not name a type
     depth[u]=deep;
     ^
0_0_20970376_5215.cpp:19:16: error: 'u' was not declared in this scope
     int num=mp[u].size();
                ^
0_0_20970376_5215.cpp:11:18: error: expected unqualified-id before 'for'
 #define F(i,a,b) for(int i=a;i<=b;++i)
                  ^
0_0_20970376_5215.cpp:20:5: note: in expansion of macro 'F'
     F(i,0,num-1)if(mp[u][i]!=pre)
     ^
0_0_20970376_5215.cpp:20:7: error: 'i' does not name a type
     F(i,0,num-1)if(mp[u][i]!=pre)
       ^
0_0_20970376_5215.cpp:11:30: note: in definition of macro 'F'
 #define F(i,a,b) for(int i=a;i<=b;++i)
                              ^
0_0_20970376_5215.cpp:11:35: error: expected unqualified-id before '++' token
 #define F(i,a,b) for(int i=a;i<=b;++i)
                                   ^
0_0_20970376_5215.cpp:20:5: note: in expansion of macro 'F'
     F(i,0,num-1)if(mp[u][i]!=pre)
     ^
0_0_20970376_5215.cpp:24:1: error: expected declaration before '}' token
 }
 ^


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 19:43:17, Gzip enabled